PHP LSAPI changelog¶
Note
We do our best to update this changelog in a timely manner. However, if a version is missing, you can always find the release announcement in our LiteSpeed Edge Google Group.
Version 8.3¶
Released: September 8, 2025
- [Bug fix] Properly enabled timestamp logging for the STDERR log.
Version 8.1¶
Released: November 1, 2022
- [Improvement] Added compatibility with PHP 8.2.
Version 8.0.1¶
Released: February 22, 2022
- [Bug fix] Addressed a garbled command-line parameter showing the current running script path.
Version 8.0¶
Released: December 3, 2021
- [Feature] Added PHP 8.1 support.
- [Improvement] Improved OpenBSD compatibility.
- [Misc] Cleaned up compiler warnings.
Version 7.9¶
Released: March 5, 2021
- [Tuning] The process manager now keeps forked child processes alive for longer based on the load, reducing process-manager overhead on busy setups.
Version 7.8¶
Released: September 1, 2020
- [Feature] Added support for PHP 8.0 RC.
- [Tuning] Updated the log message with more information when possible, including the timestamp, UID, and PID.
- [Bug fix] Corrected inaccurate child-process tracking.
Version 7.7¶
Released: July 22, 2020
- [Security] Fixed a missed buffer-boundary check.
- [Improvement] Included UID information in some log entries.
Version 7.6¶
Released: November 22, 2019
- [Feature] Added the
LSAPI_CLEAN_SHUTDOWNenvironment variable for clean-shutdown control. - [Misc] Disabled clean shutdown by default for PHP versions earlier than PHP 7.
Version 7.5¶
Released: July 22, 2019
- [Bug fix] Set
ITIMER_PROFto 0.1 seconds to ensure that a clean shutdown does not get stuck in an infinite loop. - [Bug fix] Completely disabled
error_reportingbefore starting a clean shutdown to avoid generating a large number of error-log entries.
Version 7.4¶
Released: June 14, 2019
- [Improvement] Gracefully cleaned up PHP temporary files when PHP processes were killed while executing a script.
- [Improvement] Allowed request-header sizes up to 64 KB.
Version 7.3¶
Released: April 12, 2019
- [Feature] Added
litespeed_finish_request()and thefastcgi_finish_request()alias to allow PHP to continue running background jobs after finishing the current request. - [Improvement] Improved the process manager to keep worker processes alive when enough free memory was available.
Version 7.2¶
Released: January 21, 2019
- [Improvement] Added a timestamp when directly logging standard error to a file.
- [Bug fix] Fixed LSAPI protocol corruption when PHP scripts forked a child process. (Reported by CloudLinux.)
- [Bug fix] Fixed uninitialized
sa_maskduring signal-handler setup. (Reported with a patch by CloudLinux.) - [Bug fix] Fixed an incorrect string length when trimming long log strings containing trailing newlines. (Reported with a patch by CloudLinux.)
- [Bug fix] Fixed the maximum idle timeout not resetting properly during socket events. (Reported with a patch by CloudLinux.)
Version 7.1¶
Released: April 11, 2018
- [Feature] Allowed
php_admin_valueto override configuration set inphp.ini, similar toopen_basedir. - [Improvement] Improved PHP-side CRIU support.
- [Bug fix] Fixed a bug in PHP suEXEC daemon mode that caused permission issues.
Version 7.0¶
Released: February 28, 2018
- [Feature] Added CRIU support.
- [Feature] Added support for
[PATH=]and[HOST=]sections inphp.ini. - [Improvement] Enhanced the process manager.
Version 6.11¶
Released: June 28, 2017
- [Bug fix] Fixed the display of the
.user.inivalue inphpinfo()when the value was not actually applied. (Patch provided by CloudLinux.) - [Bug fix] Fixed a bug where
ini_setfailed to overridephp_valuein.htaccess. (Patch provided by CloudLinux.)
Version 6.10¶
Released: September 19, 2016
- [Feature] Added support for
.user.ini, controlled by theLSPHP_ENABLE_USER_INIenvironment variable. - [Feature] Added a new
LSPHPRCenvironment variable to overridephp.ini.
Version 6.9¶
Released: December 9, 2015
- [Bug fix] Fixed a bug in suEXEC daemon mode where the server secret was not cleared.
- [Bug fix] Fixed a bug where a malformed LSAPI request could crash the PHP process.
- [Bug fix] Fixed a bug in CLI mode that caused an incorrect value for the
DIRglobal variable. - [Bug fix] (PHP 7) Fixed a bug that broke PHP configuration overrides through Apache configuration.
Version 6.8¶
Released: June 12, 2015
- [Feature] Added PHP 7 support.
Version 6.7¶
Released: September 4, 2014
- [Feature] Added support for the
filter_input()function. - [Bug fix] Fixed a bug that caused a crash when running in CLI mode.
Version 6.6¶
Released: November 22, 2013
- [Improvement] Increased the default child-process limit for suEXEC daemon mode to avoid stalling the daemon and causing 503 errors.
Version 6.5¶
Released: November 18, 2013
- [Bug fix] Fixed a bug in the LSAPI library that caused problems when executing commands from within PHP scripts. The problem had existed since version 6.2.
Version 6.4¶
Released: October 30, 2013
- [Improvement] Avoided multiple debugging sessions when hanging PHP processes were detected.
- [Improvement] Returned a 508 error page when the CloudLinux LVE resource limit was reached.
- [Tuning] Performed minor performance tuning for suEXEC daemon mode.
- [Bug fix] Fixed a bug in tracking the number of child processes.
Version 6.3¶
Released: August 6, 2013
- [Feature] Added the
apache_get_modules()function to improve compatibility withmod_php. - [Improvement] Changed the GDB stack-backtrace generation setting to disabled by default. It can be enabled with the
LSAPI_DUMP_DEBUG_INFO=1environment variable. - [Bug fix] Fixed a bug that displayed partial original command-line parameters.
Version 6.2¶
Released: May 22, 2013
- [Feature] Added the ability for the suEXEC daemon to kill runaway child processes.
- [Improvement] Sped up child-process recycling for better memory usage.
- [Improvement] Changed process naming to allow shorter process names.
Version 6.1¶
Released: November 21, 2012
- [Feature] Added the
-noption for CLI mode, which skips loadingphp.ini. - [Misc] Removed code related to changing
php.iniwhen suEXEC daemon mode is used because it did not work.
Version 6.0¶
Released: September 10, 2012
- [Major Feature] Added PHP suEXEC daemon mode to improve performance and memory efficiency.
- [Feature] Added native CloudLinux LVE/CageFS support.
Version 5.5¶
Released: December 13, 2010
- [Feature] Added support for the
php_value engine offfeature. - [Bug fix] Fixed the validation code for the length of custom HTTP headers.
Version 5.4¶
Released: July 15, 2010
- [Improvement] Changed the
register_long_arraysconfiguration option to be enabled by default. - [Bug fix] Fixed the installer script for FreeBSD.
Version 5.3¶
Released: February 8, 2010
- [Improvement] The
register_long_arraysconfiguration option, which is disabled by default, can be enabled throughphp.ini.
Version 5.1¶
Released: January 17, 2010
- [Improvement] Improved performance by optimizing PHP interface code.
- [Bug fix] Fixed several compatibility bugs.
Version 5.0¶
Released: January 12, 2010
- [Feature] Implemented the feature that displays the script name in
topandpsoutput. - [Feature] Added a slow-request log to identify slow PHP scripts.
- [Feature] Displayed the LSAPI code version on the
phpinfo()page. - [Improvement] Improved performance by optimizing PHP interface code.
Version 4.8¶
Released: September 10, 2008
- [Improvement] Ignored the
SIGXFSZsignal and disabled core dumps by default.
Version 4.7¶
Released: April 14, 2008
- [Bug fix] Switched to a non-blocking listener socket to avoid hanging Ruby and PHP processes.
- [Bug fix] Replaced
kill(ppid, 0)withgetppid()to test the status of the parent process.
Version 4.6¶
Released: February 26, 2008
- [Bug fix] Improved the internal process manager to avoid killing active child processes with
SIGTERM.
Version 4.5¶
Released: January 31, 2008
- [Bug fix] Fixed the code in the LSAPI library that failed to compile under Mac OS X.
- [Improvement] Added implementations of the PHP functions
getallheaders()andapache_request_headers(). Compatibility with PHP code written formod_phphas been improved.
Version 4.4¶
Released: January 3, 2008
- [Improvement] Improved error logging during application startup to avoid 503 errors.
- [Misc] Cleaned up the source code.
Version 4.3¶
Released: December 11, 2007
- [Feature] Added a command-line option to enable PHP source-code output.
Version 4.2¶
Released: November 25, 2007
- [Bug fix] Fixed a bug that caused LSAPI build failures in some Mac OS X environments.
Version 4.1¶
Released: August 21, 2007
- [Feature] Added the
LSAPI_AVOID_FORKenvironment variable to minimize dynamic starting and stopping of child processes. - [Bug fix] Fixed a bug that could cause an infinite loop while reading the request body under special circumstances.
Version 4.0¶
Released: May 10, 2007
- [Feature] Added support for the
apache_response_headers()function.