I purchased a commercial software which needed Zend optimizer since it was encoded one. I uploaded all my scripts to my linux server and suddenly i got this error when accessing the site.
Fatal error: Unable to read 25447 bytes in index.php
I did have Zend optimizer installed in our cpanel server and didnt know how to fix this problem. Sooner we found the culprit was FTP software.
Fix:
Since the scripts are encoded, you have to upload the php files in BINARY mode and not in ASCII mode. The ftp software filezilla doesnt know it so i have to manually set to binary mode before upload.
Once this is done, the problem got solved!
Similar Posts:
- EASY way to install Zend Optimizer in Cpanel
- Apache failed to start after installing Ioncube with Zend Optimizer!
- How to Upload Files using SSH
- How to do backups with Network Attached Storage (NAS) in Linux
- Install FTP Server for Centos/RHEL
- Uploading Files using Unzip in Linux
- Implementing Secure File Upload in PHP
- How to unzip ZIP files with PHP
- easyapache -Premature end of script headers error in cpanel
- Website shows up Blank Page and will not load!

