The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom php.ini directives ignored with PHP-FPM

Discussion in 'EasyApache' started by HowardE, Apr 17, 2017.

  1. HowardE

    HowardE Member

    Joined:
    Aug 8, 2015
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Florida
    cPanel Access Level:
    Root Administrator
    I have seen similar questions, but i'm not finding the answer for me.

    I'm using EA4 with PHP-FPM

    I have added some custom directives to the MultiPHP INI Editor in cPanel for the specified account.

    Code:
    upload_max_filesize = 30M
    post_max_size = 30M
    max_execution_time = 180
    
    This gets added .user.ini, php.ini, and the same to .htaccess automatically as expected.

    I've restarted apache and php-fpm but it doesn't effect the max file upload size (which is what I'm trying to change).

    When i check the PHPINFO I don't see that it's parsing those files?

    Any suggestions here on how to make it work?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. HowardE

    HowardE Member

    Joined:
    Aug 8, 2015
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Florida
    cPanel Access Level:
    Root Administrator
    I also noticed in my phpinfo that it correctly shows the correct value in "Local" column - don't know if this helps.

    Code:
    upload_max_filesize 30M 8M
    So this is an open issue with WHM (that PHP-FPM isn't accepting the local values)?

    If this is the case... you can close this thread, and I'll follow the other one you refer to and await updates.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @HowardE,

    Could you open a support ticket using the link in my signature so we can take a closer look at the affected system and verify if the issue is related to internal case CPANEL-11563? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page