Php 5.2.10

piper

Well-Known Member
#1
Hi,

Any plan to add PHP 5.2.10 to PHP compiler GUI? I know I can manually build it from cli, but having so many litespeed machine it makes it very time consuming :p

Thanks for a great product
 

piper

Well-Known Member
#4
More errors

Fatal error: Error: cannot open phar "/opt/lsws/phpbuild/php-5.2.10/pear/install-pear-nozlib.phar" in /opt/lsws/phpbuild/php-5.2.10/pear/install-pear-nozlib.phar on line 795
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
ls_install: Failed!
 

piper

Well-Known Member
#6
Added 5.2.10 to the updated 4.0.5 package.
I still got this error

mv /opt/lsws/fcgi-bin/lsphp-5.2.10 /opt/lsws/fcgi-bin/lsphp-5.2.10.bak; cp /opt/lsws/phpbuild/php-5.2.10/sapi/litespeed/php /opt/lsws/fcgi-bin/lsphp-5.2.10
Installing PHP SAPI module: litespeed
Installing PHP CLI binary: /opt/lsws/lsphp5/bin/
Installing PHP CLI man page: /opt/lsws/lsphp5/man/man1/
Installing build environment: /opt/lsws/lsphp5/lib/php/build/
Installing header files: /opt/lsws/lsphp5/include/php/
Installing helper programs: /opt/lsws/lsphp5/bin/
program: phpize
program: php-config
Installing man pages: /opt/lsws/lsphp5/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /opt/lsws/lsphp5/lib/php/

Fatal error: Error: cannot open phar "/opt/lsws/phpbuild/php-5.2.10/pear/install-pear-nozlib.phar" in /opt/lsws/phpbuild/php-5.2.10/pear/install-pear-nozlib.phar on line 795
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
ls_install: Failed!
 

piper

Well-Known Member
#7
Looks like curlwrappers causes it, php 5.2.10 have problem compiling with curlwrapper and safe_mode
 
Last edited:

mistwang

LiteSpeed Staff
#17
You have some mismatched PHP modules I think. those modules need to be build manually, it cannot be taken care of by cpeasyapache.

try run
/usr/local/lsws/fcgi-bin/lsphp-5.2.12 -i

from command line, see if you got any error.
 
Top