Bluehost Web Hosting Help

Fatal error: Unable to read X bytes in /home/user/public_html/myfile.php on line Y

This means that the file was uploaded as ASCII text (plain text) instead of as a binary file (1's and 0's). Some PHP codes require that it is transfered as a binary file and not as plain text. Setting your FTP client to force Binary mode, instead of allowing it to auto-detect the mode, will fix this problem 90% of the time.

Refer to the FTP client's website for specific instructions.

Knowledgebase Article 112,069 views bookmark tags: fatal php read unable


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Wordpress Fatal error: Allowed memory size exhausted

Available PHP Memory Exhausted.

Wordpress Error: Unable to create directory

Wordpress Error: Unable to create directory /wp-content/uploads/2009/mydir/summer/ Is its parent directory writable by the server?

Adding Handlers to change your PHP Version

This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.

Related Help Content

Specify a Cron Job to Use a Specific phpini File

Script executed with a cron job requires a specific php.ini file to be used.

Manually editing your error pages

How to customize your html or php error pages.

Unable to login to PHP-Nuke website

Why can't I log into my PHP-Nuke based website?

PHP PEAR Packages

This article will outline which PHP PEAR Packages are installed and how you can install additional PHP PEAR Packages.

500 Internal Server Error Help

Website shows a server 500 error, what can I do to fix it?

Allow_url_include

In the newer versions of PHP, they have included a new directive to control and handle remote includes. We disable this option, by default, which may affect some of your PHP scripts.

Configure the PHP Environment with php ini

How do I change the PHP environment for my site with php.ini?

PHP display_errors flag

How do I turn the display_errors flag on for php?