For some reason PHP always fails to install. I have never seen Litespeed install PHP correctly since I started using it more than a year ago. The error is always the same:
As the compile did complete successfully I've always simply fixed this by doing something like:
'cp /usr/local/lsws/phpbuild/php-5.3.1/sapi/litespeed/php /usr/local/lsws/fcgi-bin/lsphp5'
As I use FreeBSD exclusively this might be a FreeBSD specific bug, I have noticed it on 6-RELEASE, 6-STABLE, 7-STABLE, 8-RC1, 8-STABLE and 9-CURRENT.
I'm guessing the compiler writes the lsapi php binary somewhere else on FreeBSD or something similar.
Code:
Build complete.
Don't forget to run 'make test'.
Installing PHP
Installing PHP SAPI module: litespeed
:No such file or directory
Installing build environment: /usr/local/lsws/lsphp5/lib/php/build/
Installing header files: /usr/local/lsws/lsphp5/include/php/
Installing helper programs: /usr/local/lsws/lsphp5/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/lsws/lsphp5/man/man1/
page: phpize.1
page: php-config.1
1 error
*** Error code 1 (continuing)
`install' not remade because of errors.
**ERROR** Could not install PHP
'cp /usr/local/lsws/phpbuild/php-5.3.1/sapi/litespeed/php /usr/local/lsws/fcgi-bin/lsphp5'
As I use FreeBSD exclusively this might be a FreeBSD specific bug, I have noticed it on 6-RELEASE, 6-STABLE, 7-STABLE, 8-RC1, 8-STABLE and 9-CURRENT.
I'm guessing the compiler writes the lsapi php binary somewhere else on FreeBSD or something similar.