Answer the question
In order to leave comments, you need to log in
Why doesn't php_admin_value work in site config?
Let's say we set the directives max_execution_time = 300,
mbstring.func_overload=2 in php.ini, and the following values in the Apache config:
<VirtualHost *:8080>
ServerName test.local
ServerAlias www.test.local
ServerAdmin [email protected]
DocumentRoot /var/www/sites/test.local
<Directory /var/www/sites/test.local>
AllowOverride All
</Directory>
<Directory /var/www/sites/test.local/folder>
php_admin_value max_input_time 600
php_admin_value mbstring.func_overload 0
</Directory>
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
In fact, everything works, only the problem was that there was a parameter in .htaccess that tried to set mb.function_overload, which is now impossible , so the values were taken by default. As far as I understand, this has been going on since version 5.2.8.
1 which mod php mod_apache mod_fastCGI php-fpm ?
What OS, in Debian there are several things like these php.ini by default, and they can also be different for each site.
phpinfo to the studio, on this page
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question