XPerties said:
Chirpy,
We use zend with php and have ioncube off in whm but clients still need ioncube for some scripts which they load from their main account by uploading the encoders. Will I need to load the encoders for clients to use if this is off and I thought zend and ioncube were incompatible to be both loaded at the same time from the server side?
The ioncube loader in WHM isn't relevant - that's only for the cPanel PHP, not end-users.
You will need to install ioncube (it works perfectly find with zend opt) centrally. I use this method:
Code:
cd /usr/local/apache
wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
tar -xzf ioncube_loaders_lin_x86.tar.gz
rm -fv ioncube_loaders_lin_x86.tar.gz
ls -la ioncube
pico -w /usr/local/lib/php.ini
Scroll down to the Dynamic Extensions section and add the line:
zend_extension="/usr/local/apache/ioncube/xxx"
Where xxx corresponds to your version of PHP that is installed from the ls output above. For example, for PHP v4.4.* use:
zend_extension="/usr/local/apache/ioncube/ioncube_loader_lin_4.4.so"
Exit and save and then check php is showing ioncube in:
php -v
Then restart httpd:
/scripts/restartsrv_httpd