Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP memory limit - Unable to set

Discussion in 'General Discussion' started by onscreen, Aug 8, 2014.

  1. onscreen

    onscreen Registered

    Joined:
    Jan 31, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    i am unable to set the PHP memory limit via WHM / Service Configuration »PHP Configuration Editor. I enter a value (f.e. 128M), the php.ini file is written properly, restart Apache, but php info reports the previous value.

    When i put a php.ini file with another value for PHP memory limit in a folder, then the php info reports the correct value.

    Apache 2.2, php 5.4, suphp, Cloudlinux

    Any ideas?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,423
    Likes Received:
    1,959
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Upload a PHPINFO file to the directory and check to see which php.ini file it's utilizing. It's possible that it's using a custom php.ini file that was uploaded to the account instead of the global /usr/local/lib/php.ini file that's updated when you modify the values in WHM.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice