- I am playing with "PHP script execution mode" in "Website and PHP options section" by switching from FCGId to FPM. Loading phinfo file in browser I am getting the following results.
[PHP INFO FCGI]
Server API = CGI/FastCGI
Loaded Configuration = /home/mydomain/etc/php7.0/php.ini
[PHP INFO FPM]
Server API = FPM/FastCGI
Loaded Configuration = /etc/php/7.0/fpm/php.ini
Question 1: Is it possible to change Loaded Configuration in FPM to /home/[virtualhost_name]/etc/php.ini?
Question 2: In case it is no possible and if I have to override some php values from the Loaded Configuration I guess I have to edit the file /etc/php[version]/fpm/pool.d/[number].conf. Values format are like this "php_admin_value[allow_url_fopen] = 0". Can I insert these values in Virtualmin interface only for that virtual host?
- I am using always PHP 7.0, but 5.6 is installed too. When I am switching back from FPM to FCGI Virtualmin is reseting PHP version to 5.6 instead of keeping the one used in FPM. In my opinion this is a bug.