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 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:
    151
    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:
    555
    Likes Received:
    16
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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