T
T
Twelfth Doctor2017-07-19 15:13:02
PHP
Twelfth Doctor, 2017-07-19 15:13:02

Apache + PHP_FPM. Is it possible to write PHP options in .htaccess or Apache virtual host?

Hello. Can you please tell me if it is possible to manage php parameters through the Apache virtual host configuration file if PHP is running in php-fpm mode?
Those. write php_value ?
The virtual host has the following:

<FilesMatch "\.php$">
  SetHandler "proxy:unix:///var/run/php-fpm/site1.sock|fcgi://site1/"
</FilesMatch>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question