D
D
Dmitry Ivanov2017-08-12 22:17:43
PHP
Dmitry Ivanov, 2017-08-12 22:17:43

How to enable shell_exec() for a specific domain?

Given. Server with isp panel. By default, as on many servers, many "dangerous features" are disabled. This is done in php.ini which is responsible for the entire server and is located at /etc/php5/apache2.
There are many users and many domains on the server. You cannot enable this feature for the entire server. Must be enabled for a specific domain. The php settings are set for the domain as an apache module. i.e. cgi is disabled. accordingly, you cannot put your php.ini in the folder with the domain. Are there any solutions?
ps root access available

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2017-08-12
@Hopkins777

Some directives can be overridden in local .htaccess via php_value , but the disable_functions setting is not allowed to be changed in .htaccess

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question