Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    1

    Question Php function freeze server

    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. #2
    Member twhiting9275's Avatar
    Join Date
    Sep 2002
    Posts
    366
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Php function freeze server

    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.
    Linux Tech Networks: Reliable Server Administration and Monitoring since 2002

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 07-08-2011, 02:56 PM
  2. Replies: 4
    Last Post: 05-02-2011, 11:14 AM
  3. E-mail not going on same server sites using php mail() function
    By muzaffar in forum E-mail Discussions
    Replies: 1
    Last Post: 06-29-2009, 12:48 PM
  4. Edit Packages freeze the server. Why?
    By konrath in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-29-2009, 10:47 AM
  5. Thousands of exim processes freeze the server
    By tonyxp in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-17-2004, 07:17 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube