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

    Jan 31, 2010
    Likes Received:
    Trophy Points:

    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 Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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...

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