Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with zend signals in php_request_startup
The zend_signals_activate() function is called in php_request_startup() even if `--disable-zend-signals` is used. This causes uninitialized variables to be used on ZTS builds. This was removed in 7.1 in c870633. Removing guards from the SAPIs should be fine, but removing the guard from main/main.c prevents anyone using the static embedded library to integrate PHP into their programs. For more details, see the "Additional remark" section in https://bugs.php.net/bug.php?id=74149
- Loading branch information