LSAPI
Release Log
Join the "LiteSpeed Edge Users" Google Group for cutting-edge build notifications.
LiteSpeed Server API (LSAPI) is highly optimized for communication between LiteSpeed and third party web engines.
-
PHP LSAPI 8.1 (11-01-2022) Improvement
- IMPROVEMENT Compatible with PHP 8.2.
PHP LSAPI 8.0.1 (02-22-2022) Bugfix
- BUGFIX Address garbled command line parameter showing current running script path.
PHP LSAPI 8.0 (12-03-2021) New Feature, Improvement & Misc
- NEW FEATURE PHP 8.1 support.
- IMPROVEMENT Better OpenBSD compatibility.
- Misc Clean up compiler warnings.
PHP LSAPI 7.9 (03-05-2021) Tuning
- TUNING Process manager now keeps forked child processes alive for longer based on load, reducing process manager overhead on busy setups.
PHP LSAPI 7.8 (09-01-2020) Tuning, Bugfix
- NEW FEATURE PHP 8.0 RC support.
- TUNING Update log message with more information when possible: Timestamp, UID, PID, etc.
- BUGFIX Correct inaccurate children process tracking.
PHP LSAPI 7.7 (07-22-2020) Security, Improvement
- SECURITY Fix a missed buffer boundary check.
- IMPROVEMENT Include UID information in some log entries.
PHP LSAPI 7.6 (11-22-2019) New Feature, Update
- NEW FEATURE Added environment variable 'LSAPI_CLEAN_SHUTDOWN' for clean shutdown control.
- UPDATE Disabled clean shutdown for PHP versions lower than PHP 7 by default.
PHP LSAPI 7.5 (07-22-2019) Bugfixes
- BUGFIX Override ITIMER_PROF to 0.1 seconds to ensure that a clean shutdown won't get stuck in an infinity loop.
- BUGFIX Completely disabled "error_reporting" before starting a clean shutdown to avoid generating a large amount of error log entries.
PHP LSAPI 7.4 (06-14-2019) Improvements
- IMPROVEMENT Gracefully clean up PHP temp files when PHP processes are killed in middle of executing a script.
- IMPROVEMENT Allow request header sizes up to 64KB.
PHP LSAPI 7.3 (04-12-2019) New Feature & Improvement
- NEW FEATURE `litespeed_finish_request()` and alias `fastcgi_finish_request()` to allow PHP to continue running background jobs after finishing the current request.
- IMPROVEMENT Improved process manager to keep worker processes alive when there is enough free memory.
PHP LSAPI 7.2 (01-21-2019) Improvements & Bug Fixes
- IMPROVEMENT Added timestamp when directly logging stderr to file.
- BUGFIX Fixed LSAPI protocol corruption when PHP scripts fork child process. (reported by CloudLinux)
- BUGFIX Fixed uninitialized sa_mask during signal handler setup. (reported with patch by CloudLinux)
- BUGFIX Fixed wrong string length when trimming long log strings containing trailing newlines. (reported with patch by CloudLinux)
- BUGFIX Fixed max idle timeout time not resetting properly during socket events. (reported with patch by CloudLinux)
PHP LSAPI 7.1 (4-11-2018) Feature Enhancements & Bug Fixes
- NEW FEATURE Allow php_admin_value to override configuration set in php.ini, similar to open_basedir.
- IMPROVEMENT Improved PHP side CRIU support.
- BUGFIX Fixed a bug in PHP suEXEC daemon mode that was causing permission issues.
PHP LSAPI 7.0 (2-28-2018) Feature Enhancements
- NEW FEATURE Added CRIU support.
- NEW FEATURE Added support for [PATH=] and [HOST=] sections in php.ini.
- IMPROVEMENT Enhanced process manager.
PHP LSAPI 6.11 (6-28-2017) Bug Fixes
- BUGFIX Fixed .user.ini value displaying in phpinfo(), but not actually applying. (Patch provided by CloudLinux)
- BUGFIX Fixed a bug where 'ini_set' failed to override 'php_value' in .htaccess. (Patch provided by CloudLinux)
PHP LSAPI 6.10 (9-19-2016) Feature Enhancements
- NEW FEATURE Added .user.ini support, controlled by the LSPHP_ENABLE_USER_INI environment variable.
- NEW FEATURE Added new environment variable LSPHPRC to override php.ini.
PHP LSAPI 6.9 (12-9-2015) Bug Fixes
- Fixed a bug in suEXEC daemon mode where server secret would not be cleared.
- Fixed a bug where a malformed LSAPI request could crash the PHP process.
- Fixed a bug in CLI mode that caused a bad value for the DIR global variable.
- (PHP 7) Fixed a bug that broke PHP configuration override through Apache config.
PHP LSAPI 6.8 (6-12-2015) Improved functionality
- Added PHP 7 support.
PHP LSAPI 6.7 (9-4-2014) Improved functionality and bug fix
- Added support for filter_input() function.
- Fixed bug causing a crash when run in CLI mode.
PHP LSAPI 6.6 (11-22-2013) Performance improvement
- Default child process limit for suEXEC Daemon mode increased to avoid stalling the daemon and causing 503 errors.
PHP LSAPI 6.5 (11-18-2013) Bug fix
- Fixed bug in LSAPI lib causing problems for executing commands from within PHP scripts. Problem existed since version 6.2.
PHP LSAPI 6.4 (10-30-2013) Minor bug fixes and feature enhancements
- Avoid multiple debugging sessions when hanging PHP processes detected.
- Return 508 error page when CloudLinux LVE resource limit has been reached.
- Fixed bug in tracking number of child processes.
- Minor performance tuning for suEXEC daemon mode.
PHP LSAPI 6.3 (08-06-2013) Minor bug fixes and feature enhancements
- Added apache_get_modules() function to improve compatibility with mod_php.
- Fixed a bug showing partial original command line parameters.
- Changed GDB stack backtrace generation setting to disabled by default. It can be enabled with the the environment variable LSAPI_DUMP_DEBUG_INFO=1.
PHP LSAPI 6.2 (05-22-2013) Minor feature enhancements
- Added the ability for the suEXEC daemon to kill runaway child processes.
- Speeded up recycling of child processes for better memory usage.
- Changed process naming, allowed for shorter process names.
PHP LSAPI 6.1 (11-21-2012) Minor bug fixes
- Remove code related to changing php.ini when suEXEC daemon mode is used, does not work.
- Added "-n" option for CLI mode, which skips loading php.ini
PHP LSAPI 6.0 (09-10-2012) Major feature enhancements
- PHP suEXEC daemon mode has been added to improve performance and memory efficiency.
- added native CloudLinux LVE/CageFS support.
PHP LSAPI 5.5 (12-13-2010) Minor bug fix
- added support for "php_value engine off" feature
- fixed the validation code for length of custom HTTP header.
PHP LSAPI 5.4 (7-15-2010) Minor bug fix
- change configuration option "register_long_arrays" to be turned on by default.
- fixed installer script for FreeBSD.
PHP LSAPI 5.3 (2-8-2010) Minor bug fix
- configuration option "register_long_arrays" that turned off by default can be enabled through php.ini.
PHP LSAPI 5.1 (1-17-2010) Minor bug fix
- Improved performance by optimizing PHP interface code.
- Fixed few compatibility bugs
PHP LSAPI 5.0 (1-12-2010) Major feature enhancements
- Improved performance by optimizing PHP interface code.
- Implemented the feature that show script name in "top" and "ps" output.
- Added slow request log to identify slow PHP scripts.
- Show LSAPI code version in PHPINFO page
PHP LSAPI 4.8 (9-10-2008) Minor feature enhancements
- Ignore SIGXFSZ signal and disable core dump by default.
PHP LSAPI 4.7 (4-14-2008) Minor bug fixes
- Switched to non-blocking listener socket to avoid hanging Ruby/Php processes, replaced kill( ppid, 0 ) with getppid() to test the status of the parent process.
PHP LSAPI 4.6 (2-26-2008) Minor bug fixes
- Improved the internal process manager to avoid killing active children process with SIGTERM.
PHP LSAPI 4.5 (1-31-2008) Minor bug fixes
- Fixed the code in LSAPI libary that failed to compile under Mac OS X.
- Added implementation of PHP function getallheaders() and apache_request_headers(), compatibility with PHP code written for mod_php has been improved.
PHP LSAPI 4.4 (1-3-2008) Minor bug fixes
- Error logging has been improved during application startup time to avoid 503 errors.
- Source code has been cleaned up.
PHP LSAPI 4.3 (12-11-2007) Minor feature enhancements
- Added a command line option to enable PHP source code output.
PHP LSAPI 4.2 (11-25-2007) Minor bug fixes
- Fixed a bug that causes LSAPI build failure on some Apple Mac OS X environments.
PHP LSAPI 4.1 (8-21-2007) Minor bug fixes
- Added LSAPI_AVOID_FORK environment variable to minimize dynamic start/stop of children process.
- Fixed a bug that may cause infinity looping while reading request body under special situation.
PHP LSAPI 4.0 (5-10-2007) Minor feature enhancement
- Added support for 'apache_response_headers' function.
PHP LSAPI 3.1 (4-24-2007) Minor bug fixes
- Improved builtin Process Manager to reliably stop children processes.
- Added LSAPI_EXTRA_CHILDREN environment variable to give better control of extra children processes can be started while existing children processes are in error state.
PHP LSAPI 2.4 (01-10-2007) Bug Fix
- Fixed: A bug may cause LSAPI application to run with 99% CPU.
- Improved: Ruby LSAPI extension follows specification of ruby's I/O library more closely.
PHP LSAPI 2.3 (10-09-2006) Bug Fix
- Fixed: Custom request header values could be truncated.
PHP LSAPI 2.2 (07-07-2006) Compatibility
- PHP LSAPI has been upgraded to work with "getenv()" function. For code portability, LiteSpeed recommend PHP coders to defer from using getenv() and use specific $_ENV variable access.
PHP LSAPI 2.1 (05-16-2006) Bug Fix
- Fixed a 503 error when PHP_LSAPI_CHILDREN env variable is set. The env variable does not apply to Ruby but the fix affected the base library.