您的位置:首页 > 编程语言 > PHP开发

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐