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 function freeze server

Discussion in 'Workarounds and Optimization' started by ciberplay, Mar 15, 2011.

  1. ciberplay

    ciberplay Registered

    Joined:
    Sep 4, 2002
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello i have one account that use PHP "$document_root" var instead $_SERVER['DOCUMENT_ROOT'] ....
    when i visit this website, its take long time to load and create a process in server called "/usr/local/apache/bin/httpd -k start -dssl" and increase fastly the memory usage until freeze the server... i change the line in php code and the server is right now, but i think i need change some configuration in httpd.conf to avoid this in future...

    Can someone helpme? thanks for all
     
  2. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    538
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    this isn't a cPanel question, but a programming question. You need to contact the account owner and have them adjust their code to run properly.
     
Loading...

Share This Page