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.

Apache gone wrong..

Discussion in 'EasyApache' started by unknownserv, Jan 19, 2007.

  1. unknownserv

    unknownserv Member

    Joined:
    Sep 27, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Any idea on how to fix this?
    I was adding some PHP modules to apache, and my browser froze. Now when I go to any of the hosted sites it just prompts me to download the php files. I've tried doing it again through WHM but no success..

    Thanks.
     
  2. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Rebuild apache with PHP and it should start working again.
     
  3. unknownserv

    unknownserv Member

    Joined:
    Sep 27, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Tried that and it won't work. It says its successful, but doesn't work.
     
  4. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    If you'd like I can take a look at your server, you can contact me via PM. I had this problem on my server and eventually pinpointed the problem to running PHP as CGI and having a few bad points in the php.ini file.

    EDIT: I'd also change your database passwords for all the sites using MySQL and PHP connections, when this happens users can download all your files and obtain entire scripts... They could also locate your database details and retrieve your password...

    What I did when this happened is rename my public_html folder public_html-, that way no one could access the sites and download my script until I got it fixed.
     
    #4 Nhojohl, Jan 19, 2007
    Last edited: Jan 19, 2007
Loading...

Share This Page