01-13-2010, 04:41 AM
Join Date: Apr 2008
PHP install error
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:
Don't forget to run 'make test'.
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/
Installing man pages: /usr/local/lsws/lsphp5/man/man1/
*** 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.