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

Discussion in 'General Discussion' started by futuron, Jan 2, 2005.

  1. futuron

    futuron Active Member

    Joined:
    Jul 26, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    How can I compile Apache using php memory limit, because whm easyapache wont do it?
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Apache and php are two seperate programs, FYI. PHP would need to be re-compiled with this in the configure line: --enable-memory-limit in order to enable that feature in PHP.
     
  3. futuron

    futuron Active Member

    Joined:
    Jul 26, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Sorry, I m not so good at this.. yet.
    How can this PHP be re-compiled?
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    If you have to ask, its probably best to get a test linux box up, read the php documentation for instructions ( its really quite thurough ), examin the way cpanel sets it all up.. ( ie, download buildapache.sea, run it and ctrl c out then examin the doc's ) and then go from there.

    Otherwise i'd suggest having your system administrator take care of it ( assuming you have one, if not, do yourself and all of us a favour and find one quick :) )
     
Loading...

Share This Page