This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
PHP / PHP disable_functions for separated vhost
« on: January 25, 2021, 12:52:58 PM »
Hello,
I'm running PHP 7.4 as main PHP version and PHP-CGI selector v2 from PHP 5.6 to 7.4 versions, on my Invision Power installation I have a message to disable some dangerous PHP functions,
All I have done is to add in the domain's control panel the disable_functions as a new record in the php.ini and add the PHP functions that needed.
After that I still have the same message. From a search I found this article: http://wiki.centos-webpanel.com/how-to-disable-dangerous-php-functions but I don't want to disable any PHP function from all domains that use the same PHP version.
What can I do to disable these PHP functions only for 1 domain?
I'm running PHP 7.4 as main PHP version and PHP-CGI selector v2 from PHP 5.6 to 7.4 versions, on my Invision Power installation I have a message to disable some dangerous PHP functions,
All I have done is to add in the domain's control panel the disable_functions as a new record in the php.ini and add the PHP functions that needed.
After that I still have the same message. From a search I found this article: http://wiki.centos-webpanel.com/how-to-disable-dangerous-php-functions but I don't want to disable any PHP function from all domains that use the same PHP version.
What can I do to disable these PHP functions only for 1 domain?
Pages: [1]