1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP does not work after Apache Update

Discussion in 'EasyApache' started by Stylissimo, May 19, 2006.

  1. Stylissimo

    Stylissimo New Member

    Joined:
    May 28, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I did an apache upate as i wanted to install GD. After the update ran all the pages on my server that were php did not run, normal static html pages run fine but no php.
    Here is the output of my Update
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Building Apache Config.....Done
    Downloading and compiling apache+modules....


    Fetching http://layer1.cpanel.net/buildapache.sea (0)....@69.90.250.34......connected......receiving...2%...5%...8%...11%...14%...17%...19%...22%...25%...28%...31%...34%...37%...39%...42%...45%...48%...51%...54%...57%...59%...62%...65%...68%...71%...74%...77%...79%...82%...85%...88%...91%...94%...97%...99%...100%......Done
    Verifying archive integrity... All good.
    Uncompressing buildapache.....................................................................................................................................
    Verifying compiler and libs....Verifying installation....Using newyum support...
    http://mirror.switch.ch/ftp/mirror/fedora/linux/core/3/i386/os/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
    Trying other mirror.
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Using newyum support...
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Done
    Done
    ********************************
    This is buildapache version 10.8.2
    ********************************
    buildapache configured from Web Host Manager
    Apache configured from Web Host Manager!
    /etc/rc.d/init.d/httpd start: httpd started
    Setting /home permissions to 0711......Done
    Setting permissions for.....admindia...admexcl...infinita...admmura...admbmis...admstyle...admtriar...admdelmo...admcsa...admcorn......Done

    configure libxml2-2.6.22...(--prefix=/usr).... . . . . . . . . . . . . . . . . . . Done

    make -j 1 libxml2-2.6.22....... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

    make libxml2-2.6.22...(install).... . . Done
    Untarring php....Done
    Running configure:
    LDFLAGS="-L/usr/X11R6/lib64" /home/cpapachebuild/buildapache/callbacklog --prog configure --dir /home/cpapachebuild/buildapache/build-log --last 0 --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-zlib

    configure php-5.1.4...(--with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

    make -j 1 php-5.1.4...(clean).... Done

    make -j 1 php-5.1.4....... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    make: *** [libphp5.la] Error 1

    make php-5.1.4...(install).... . . . . Done
    make: *** [libphp5.la] Error 1
    /etc/rc.d/init.d/httpd start: httpd started

    configure php-5.1.4...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-zlib).... . . . . . . . . . . . . . . . . . Done

    make -j 1 php-5.1.4...(clean).... Done

    make -j 1 php-5.1.4....... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    make: *** [sapi/cgi/php] Error 1

    make php-5.1.4...(install).... . . . . Done
    make: *** [sapi/cgi/php] Error 1
    initfpsuexec: using apache 1.x support
    PHP version file is up to date
    Executing /scripts/postbuildapache (if exists)...Done
    /etc/rc.d/init.d/httpd start: httpd started
    Attempting to restart httpd
    Waiting for httpd to restart....
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    finished.


    httpd status
    root 20471 0.0 0.5 5416 2796 ? Ss 23:38 0:00 /usr/local/apache/bin/httpd -DSSL



    httpd started ok
    Build Complete
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Please help

    Im in over my head here

    Regards

    Damian
     
  2. AndyReed

    AndyReed Active Member

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Are you trying to upgrade from Php v4.x to v5.x? Unless you know how to compile Php from source, manually, otherwise re-compile Apache with the working version of Php you had.
     
  3. mich181189

    mich181189 New Member

    Joined:
    Jul 31, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    php-5.1.4 does not compile cleanly on cpanel. Try 5.0.4 if you want php5 easilly. 5.1.2 fails with the same error.
     
  4. rhenderson

    rhenderson Member

    Joined:
    Apr 21, 2005
    Messages:
    789
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    We had a similiar problem (We only had the make: *** [libphp5.la] Error 1) and after search in here our fix was:

    Before the compile

    Adns the error was gone

    After the compile

    Hope it helps you.
     

Share This Page