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.

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

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page