php - Fatal error: Unable to read X bytes in file.php on line 0
2010-10-15 18:27
447 查看
Zend Optimizer requires the appropriate files (see the installation instructions) to be uploaded in forced binary mode. This is usually accomplished using a FTP program.
If not uploaded in forced binary mode, you may see one of the two errors below (among others):
Fatal error: Unable to read X bytes in {your php script} on line 0
Incompatible file format: The encoded file has format ID 0, which is too old
Make sure that you transfer files as binary and not ASCII when using FTP to transfer encoded files between computers.
Also, in order to run encoded files you need to install Zend Optimizer. This error may indicate that you have an old version of Zend Optimizer installed.
In order to download the latest version of Optimizer, go to: http://www.zend.com/products/zend_optimizer
If not uploaded in forced binary mode, you may see one of the two errors below (among others):
Fatal error: Unable to read X bytes in {your php script} on line 0
Incompatible file format: The encoded file has format ID 0, which is too old
Make sure that you transfer files as binary and not ASCII when using FTP to transfer encoded files between computers.
Also, in order to run encoded files you need to install Zend Optimizer. This error may indicate that you have an old version of Zend Optimizer installed.
In order to download the latest version of Optimizer, go to: http://www.zend.com/products/zend_optimizer
相关文章推荐
- PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
- PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
- PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
- PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
- phpMyAdmin出现Fatal error: Call to undefined function __() in ..../core.lib.php on line 229解决办法
- CI框架 Fatal error: Call to undefined method CI_DB::CI_DB() in D:\xinqing\web\CodeIgniter\database\drivers\odbc\odbc_driver.php on line 53
- Notice: unserialize(): Error at offset 134526789 of 2136547489 bytes in file.php on line 130
- Warning: File upload error - unable to create a temporary file in Unknown on line 0
- Warning: require(D:\wamp\www\glink-smart\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\wamp\www\glink-smart\bootstrap\autoload.php on line 1
- Read in text file line by line php - newline not being detected
- php-fpm启动报错:libgearman.so.8: No such file or directory in Unknown on line 0
- Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
- PHP Fatal error: Class 'PHP_Token_Stream' not found in /usr/share/php/PHP/CodeCoverage.php on line
- PHP错误Parse error: syntax error, unexpected end of file in test.php on line 12解决方法
- PHP中Notice: unserialize(): Error at offset 109 of 615 bytes in on line 的解决方法
- Fatal error: Call to** function read() on a non-object inC:*\*\select_templets.php on line *的解决方法
- Fatal error: Call to undefined function ParCv() in E:\AppServ\www\include\dedesql.class.php on line
- <?php}?>格式导致错误 Parse error: syntax error, unexpected end of file in *.php on line 374
- PHP运行错最有效解决办法Fatal error: Out of memory (allocated 786432) (tried to allocate 98304 bytes) in H:\freehost\zhengbao2\web\includes\lib_common.php on line 744
- PHP中Notice: unserialize(): Error at offset of bytes in on line 的解决方法