Results 1 to 5 of 5

Thread: Rebuilt apache with PHP CURL but now PHP pages don't load.

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    2

    Default Rebuilt apache with PHP CURL but now PHP pages don't load.

    I did a rebuild in WHM. Unfortunately I forgot to hit button to load the current configuration. The first time I did the rebuilt http would not restart. Now http restarts but PHP pages fail I get a 500 internal error. Any ideas?

    Can someone send me there configuration and maybe it will work for me?

    I am using PHP and mysql on several sites.

    I am trying another configuration right now. Once it is it done I'll add the configuration to this post maybe someone will notice where my conflict is.

    Thanks

  2. #2
    Member
    Join Date
    Jan 2007
    Location
    The Netherlands
    Posts
    179

    Default

    What Build of cPanel are you using? and so what version apache and php?

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    2

    Default

    apache 1.3.37
    php 4.4.7
    cpanel 10.9.3

  4. #4
    Member
    Join Date
    Oct 2006
    Location
    Melbourne, Australia
    Posts
    84
    cPanel/WHM Access Level

    Root Administrator

    Default

    Have you checked the error log? Try restarting Apache, and watch the error log (type this into a SSH prompt:
    Code:
    service httpd restart && tail -f /usr/local/apache/logs/error_log
    and then watch the output). Browsing to a PHP file should reproduce the error, and something should be logged to the error log

    Are you using phpSuExec? If so, are the files CHMODded to 0755?

  5. #5
    Member eNetHosts's Avatar
    Join Date
    Apr 2007
    Posts
    195

    Default

    Again, this is a problem that keeps popping up.

    If you have root access, upgrade php to 5.2.2 and restart cPanel - this has solved the problem a couple of times for people.

    To restart the cPanel login via SSH and type once logged in under root

    /etc/init.d/cpanel restart

Similar Threads

  1. cURL for PHP/Apache of WHM
    By dkphp in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-03-2010, 01:53 PM
  2. root php pages blank after recompile apache
    By Silver_2000 in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 12-14-2006, 09:30 AM
  3. Php pages returng blank or attempting to down load page.
    By Shanta in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-26-2006, 09:26 PM
  4. Building Apache & PHP w/curl
    By AlexF in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 08-04-2004, 08:37 AM
  5. Replies: 0
    Last Post: 06-30-2003, 12:58 PM