php memory limit

Discussion in 'Server Operation' started by thedoc, Oct 13, 2006.

  1. thedoc

    thedoc New Member

    I am trying to install gallery2 on my server. I need to up the memory_limit in php.ini to 16M. I have adjusted the memory_limit in the php.ini to 16M but when I access info.php I see that the memory allocation is still at 8M.
    here are the settings in the php.ini

    max_execution_time = 30
    max_input_time = 60
    memory_limit = 32M

    info.php is located:

    What could i be missing to make this adjustment?

    Thank you for your help.
  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

    stupid question but did you restart the webserver?
  3. thedoc

    thedoc New Member

    no such thing as a stupid question

    Yes several times lol.
  4. Ben

    Ben ISPConfig Developer ISPConfig Developer

    Maybe it is the same problem some other people in that forum had,
    that the php.ini is not read beacuse the php.ini path configured as /etc
    so maybe take a look at topics related to that, here
  5. thedoc

    thedoc New Member

    Thank you very much. I found the other threads and problem is now fixed by moving the php.ini from /etc to /etc/php.d. Feel free to delete this thread if you so desire.
  6. Ben

    Ben ISPConfig Developer ISPConfig Developer

    omg not, I'm sure other people will have that problem, so there is a bigger chance to find it... ;)
  7. sjau

    sjau Local Meanie Moderator

    the location of the php.ini used can be found by a simple php script:

    <? phpinfo(); ?>
    Pretty much on top, forth or fifth line will tel what php.ini is being used!
  8. Ben

    Ben ISPConfig Developer ISPConfig Developer

    @saju: that's what the link in the 1st post is refering to, but it only points to /etc ...

Share This Page