Seems running build_admin_php.sh for changing PHP version to a more updated release i.e. PHP 5.5.3:
1. Doesn't properly update the PHP binary at /usr/local/lsws/fcgi-bin/lsphp as it is stuck on the PHP binary that is automatically downloaded and put in place at /usr/local/lsws/fcgi-bin/lsphp which is PHP version 5.3.25 http://openlitespeed.com/threads/how-often-does-build_admin_php-sh-php_version-get-updated.50/
2. But it does update /usr/local/lsws/admin/fcgi-bin/admin_php* PHP binary. So Web Admin console's http headers does report PHP 5.5.3 in use but the command line still shows PHP 5.3.25
But if I copy over the updated PHP binary, the command line reports the correct version
Is this a bug ?
1. Doesn't properly update the PHP binary at /usr/local/lsws/fcgi-bin/lsphp as it is stuck on the PHP binary that is automatically downloaded and put in place at /usr/local/lsws/fcgi-bin/lsphp which is PHP version 5.3.25 http://openlitespeed.com/threads/how-often-does-build_admin_php-sh-php_version-get-updated.50/
Code:
/usr/local/lsws/fcgi-bin/lsphp -v
PHP 5.3.25 (litespeed) (built: May 14 2013 13:35:05)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
Code:
/usr/local/lsws/fcgi-bin/lsphp -v
PHP 5.3.25 (litespeed) (built: May 14 2013 13:35:05)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
Code:
cp -f /usr/local/lsws/phpbuild/php-5.5.3/sapi/litespeed/php /usr/local/lsws/fcgi-bin/lsphp
/usr/local/lsws/admin/fcgi-bin/admin_php -v
PHP 5.5.3 (litespeed) (built: Aug 25 2013 12:37:21)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies