ioncube installation for LSWS

gdewey

Well-Known Member
#1
I am trying to install ioncube for LSWS. Normally (in apache) would just add a line to php.ini

zend_extension = /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20131226/ioncube_loader_lin_5.6.so

but the compiled version of php 5.6 I have in LSWS shows that php.ini is at /usr/local/lsws/lsphp5/lib but there is not an actual php.ini file.

what is the best way to add this zend_extension line in LSWS compiled version of php?

thanks
 

NiteWave

Administrator
#2
>but the compiled version of php 5.6 I have in LSWS shows that php.ini is at /usr/local/lsws/lsphp5/lib but there is not an actual php.ini file.
there are 2 php.ini under root of php source:
php.ini-development
php.ini-production

copy one of them as /usr/local/lsws/lsphp5/lib/php.ini, then edit it, add
zend_extension = /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20131226/ioncube_loader_lin_5.6.so
 

NiteWave

Administrator
#4
>is it me or having this ini physical file makes things a little slower?
there are many factors which cause php slow.
php.ini-production should be faster than php.ini-development
and you can fine-tune php.ini to make it faster.
 
Top