• 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

php.ini disable_function on fastcgi

sgala.matteo

New Pleskian
I want to secure the php.ini fastcgi version.

I tried to configure the directive disable_function on /etc/php5/cgi/php.ini but seems that it is not used by the domains configured with PHP in FastCGI mode.

Seems that in the file /var/www/vhist/[domain]/etc/php.ini the entry disable_function is empty.

Definitively the /etc/php5/cgi/php.ini is not used.

How I can configure the disable_function for all domains?

This is a big security issue.

Thanks

Matteo
 
"PHP Settings" screen (click domain name at "Websites & Domains" to open it) has a text area to include custom directives.
 
Back
Top