• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Disable auto creation of php.ini for custom PHP

deStrO1

New Pleskian
Hello,

I'm under Plesk12 and I compiled another version of PHP (5.3). I installed it like this way:
/usr/local/psa/bin/php_handler --add -displayname "php5.3.29" -path /usr/local/php53-cgi/bin/php-cgi -phpini /usr/local/php53-cgi/php.ini -type fastcgi -id php5.3.29
/usr/local/psa/bin/php_handler --add -displayname "php5.3.29" -path /usr/local/php53-cgi/bin/php-cgi -phpini /usr/local/php53-cgi/php.ini -type cgi -id php5.3.29-cgi

Everything is good except it create a php.ini file in /var/www/vhosts/system/<domain_name>/etc/php.ini when I select the custom PHP version (for both CGI / FastCGI).

How I disable it the creation of that file?
 
Back
Top