Re: com php-src: [BUGFIX] fixes the issue that a value from .user.ini displays in phpinfo(), but not applies. [BUGFIX] when lsapi used the php_value
has higher priority then ini_set when called from the script by itself .: sapi/litespeed/lsapi_main.c
| From: | Kalle Sommer Nielsen | Date: | Wed, 28 Jun 2017 17:01:46 +0000 |
| Subject: | Re: com php-src: [BUGFIX] fixes the issue that a value from .user.ini displays in phpinfo(), but not applies. [BUGFIX] when lsapi used the php_value has higher priority then ini_set when called from the script by itself .: sapi/litespeed/lsapi_main.c |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-98239@lists.php.net to get a copy of this message | ||
Hi George
2017-06-28 5:14 GMT+02:00 George Wang <gwang@php.net>:
> +static int lsapi_activate_user_ini(TSRMLS_D);
> +
> +static int sapi_lsapi_activate(TSRMLS_D)
> +{
> + if (parse_user_ini && lsapi_activate_user_ini(TSRMLS_C) == FAILURE) {
> + return FAILURE;
> + }
> + return SUCCESS;
> +}
The TSRMLS_XXX macros no longer have a meaning in 7.0+, so unless you
keep the code in sync with the 5.6 branch, you should drop them.
--
regards,
Kalle Sommer Nielsen
kalle@php.net