Skip to main content

php.ini directives not working properly

Comments

7 comments

  • cPanelMichael
    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
  • Nurs1927
    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
  • cPanelMichael
    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
  • Nurs1927
    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"?

    Yes
    0
  • Nurs1927
    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_fopen
    0
  • Nurs1927
    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
  • cPanelMichael
    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.