php.ini directives not working properly
Hello, I want to activate allow_url_fopen in one domain.
I used CPanel multiPHP and activated it. The php.ini and .user.ini files are created in root directory, and the .htaccess is modified but.... nothing happen.
The allow_url_fopen is not activated. it seems that php.ini does not work.
PHP7
CentOS7
EasyApache 4
-
Hello, The "allow_url_fopen" PHP option falls under the "PHP_INI_SYSTEM" category and thus configuring it on a per-domain basis isn't allowed unless you use the suPHP handler. This is referenced at: MultiPHP INI Editor for cPanel - Version 68 Documentation - cPanel Documentation Thank you. 0 -
configuring it on a per-domain basis isn't allowed unless you use the suPHP handler.
Thank you. I installed suPHP module and select this handler but doesn"t work.0 -
Thank you. I installed suPHP module and select this handler but doesn"t work.
What version of cPanel is installed on this system? Also, did you enable suPHP for the version of PHP associated with this account via the "PHP Handlers" tab in "WHM >> MultiPHP Manager"? Is PHP-FPM enabled for this account? Thank you.0 -
CPanel 66.0.29 PHP-FPM Off Also, did you enable suPHP for the version of PHP associated with this account via the "PHP Handlers" tab in "WHM >> MultiPHP Manager"?
Yes0 -
What version of cPanel is installed on this system? Also, did you enable suPHP for the version of PHP associated with this account via the "PHP Handlers" tab in "WHM >> MultiPHP Manager"? Is PHP-FPM enabled for this account? Thank you.
I tested with DSO handler + mod_ruid2, and the directives in .htaccess don"t modify allow_url_fopen0 -
Okay, I've realized that it's a PHP_INI_SYSTEM directive in PHP7 Sorry! :oops: Can someone tell me the best way to activate it only in a folder. Is it possible to do it with some server configuration? 0 -
Okay, I've realized that it's a PHP_INI_SYSTEM directive in PHP7 Sorry! :oops: Can someone tell me the best way to activate it only in a folder. Is it possible to do it with some server configuration?
Hello, System values are not configurable on a per-domain or per-directory basis. You'd need to enable the option globally via "WHM >> MultiPHP INI Editor". Thank you.0
Please sign in to leave a comment.
Comments
7 comments