yes, i have 2 servers (RH9 on Intel + FC2 on AMD) use both IonCube and Zend
don't forget to backup your file before editing + do this with Your Own Risk !!
1. SSH login/su as root
2. make sure ioncube is installed at your server
3. edit /scripts/installzendopt :
>> pico /scripts/installzendopt
4. under "
my %urls = ( " line, change to
Linux => 'http://downloads.zend.com/optimizer/2.5.10/ZendOptimizer-2.5.10a-linux-glibc21-i386.tar.gz',
Linux64 => 'http://downloads.zend.com/optimizer/2.5.10/ZendOptimizer-2.5.10a-linux-glibc23-x86_64.tar.gz',
5. save changes and install zend :
>> /scripts/installzendopt
6. follow the instruction at the installation proccess
7. after installation, edit your php.ini :
>> pico /usr/local/Zend/etc/php.ini
8. find the zend configuration zone
9. move your ioncube line (at my server: zend_extension=/usr/local/cpanel/3rdparty/etc/ioncube/ioncube_loader_lin_4.4.so) before zend_extension
example at my server :
[Zend]
zend_optimizer.optimization_level=15
zend_extension=/usr/local/cpanel/3rdparty/etc/ioncube/ioncube_loader_lin_4.4.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.10
zend_optimizer.version=2.5.10a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
10. save changes and restart httpd >>
/etc/init.d/httpd restart
done...
PLEASE.... don't forget backup your "php.ini" and "/scripts/installzendopt", so you can restore it again if the process above is failed.
Hope this can help
DWHS.net said:
I have php seux and ion cube php installation.
But when i try to install zend all the php scripts on the server get a premature end of script error.
Anyone isntalled zend and ion cube on the same server and can help me whith what I need to do?
Thanks,