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 Update Crashes PHP 5

Discussion in 'EasyApache' started by Chriz1977, Oct 18, 2006.

  1. Chriz1977

    Chriz1977 Well-Known Member

    Joined:
    Sep 18, 2006
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    Ive just updated Apache using Software -> Apache Update. I chose to upgrade to PHP 5 but now when you go to a website using php the browser asks what program to open the page with.
    Can anyone help?

    Cheers
    Chriz
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    That means Php wasn't compiled successfully. You'll have to see what were the errors, if any reported, and fix them.
     
  3. Chriz1977

    Chriz1977 Well-Known Member

    Joined:
    Sep 18, 2006
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Funnily enough it worked if I rebuilt an older version. Could this mean a configuration error that will prevent me upgrading to PHP5? Also, where can I find the log files fopr the build?
    Cheers
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Either PHP wasn't compiled successfully or the module isn't being loaded (for module installs) ...

    Check your httpd.conf file for a "LoadModule" line for PHP and make sure it is NOT commented out!

    If you are using SuPHP or phpSuExec then disregard what I just said and it's probably more likely
    that PHP didn't compile succesfully and for that I would recommend a manual install of PHP 5 as
    opposed to using EasyApache or EasyPHP because those are not so "Easy".
     
Loading...

Share This Page