Compiling PHP 5.4.32 (I have not tested any others personally) using OLS' Compile PHP function results in a failure after compilation during install where it expects files that are no longer there.
Bottom of the log output:
Installing PHP
Installing PHP CLI binary: /usr/local/lsws/lsphp5/bin/
Installing PHP CLI man page: /usr/local/lsws/lsphp5/php/man/man1/
cp: cannot stat 'sapi/cli/php.1': No such file or directory
Makefile:246: recipe for target 'install-cli' failed
make: *** [install-cli] Error 1
Installing PHP LiteSpeed binary: /usr/local/lsws/lsphp5/bin/
Installing PHP CGI binary: /usr/local/lsws/lsphp5/bin/
Installing PHP CGI man page: /usr/local/lsws/lsphp5/php/man/man1/
cp: cannot stat 'sapi/cgi/php-cgi.1': No such file or directory
Makefile:268: recipe for target 'install-cgi' failed
make: *** [install-cgi] Error 1
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/php/man/man1/
page: phpize.1
cp: cannot stat 'scripts/man1/phpize.1': No such file or directory
page: php-config.1
cp: cannot stat 'scripts/man1/php-config.1': No such file or directory
Makefile:436: recipe for target 'install-programs' failed
make: *** [install-programs] Error 1
Installing PEAR environment: /usr/local/lsws/lsphp5/lib/php/
[PEAR] Archive_Tar - already installed: 1.3.12
[PEAR] Console_Getopt - already installed: 1.3.1
[PEAR] Structures_Graph- already installed: 1.0.4
[PEAR] XML_Util - already installed: 1.2.3
[PEAR] PEAR - already installed: 1.9.5
Wrote PEAR system config file at: /usr/local/lsws/lsphp5/etc/pear.conf
You may want to add: /usr/local/lsws/lsphp5/lib/php to your php.ini include_path
/usr/local/lsws/phpbuild/php-5.4.32/build/shtool install -c ext/phar/phar.phar /usr/local/lsws/lsphp5/bin
ln -s -f /usr/local/lsws/lsphp5/bin/phar.phar /usr/local/lsws/lsphp5/bin/phar
cp: cannot stat 'ext/phar/phar.1': No such file or directory
Makefile:345: recipe for target 'install-pharcmd' failed
make: *** [install-pharcmd] Error 1
Installing PDO headers: /usr/local/lsws/lsphp5/include/php/ext/pdo/
make: Target 'install' not remade because of errors.
**ERROR** Could not install PHP
The files it wants are there in .
1.in form, but a "make clean" that is ran just before compile removes the .1 files it wants which were created during the ./configure process.
I can get OLS to successfully compile 5.4.32 by commenting (or removing) the "make clean" line located within /usr/local/lsws/admin/html.open/utility/build_php/build_install.template (there is only one occurrence).
I don't think this omission would break anything long-term, but let me know if I'm wrong and what this is used for, if not just a habit.
--
Bryan