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.

PHP dead after 7.2.0 R39 upgrade

Discussion in 'General Discussion' started by zartanch, Jul 14, 2003.

  1. zartanch

    zartanch Member

    Joined:
    Mar 25, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    We got the message about Apache being outdated and needing to be patched so we tried via the new 7.2.0's web link and it just hung.

    Now PHP doesn't work on all the websites on our server.

    How do we get it working? We've done easyapache twice and cpanel upgrade to R40.

    Thanks,
    Z

    cPanel.net Support Ticket Number:
     
  2. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    Try looking at a few threads here. If you had one of the incompatible modules....

    Brenden

    cPanel.net Support Ticket Number:
     
  3. Dillard

    Dillard Well-Known Member

    Joined:
    Feb 26, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    Had the same issue here. Recompile Apache (trough the link) and NOT selecting phpsuEXEC will solve the problem (for the moment), but obviously phpsuEXEC won't work then.

    At least, my sites are online again (but it would have been nice not to find out this way !!)

    cPanel.net Support Ticket Number:
     
  4. felit0

    felit0 Member

    Joined:
    Oct 1, 2002
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Upgrade to php 4.3.2

    cPanel.net Support Ticket Number:
     
  5. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    try
    /scripts/updatenow
    /scripts/killmodav

    cPanel.net Support Ticket Number:
     
  6. NiteStalker22

    NiteStalker22 Active Member

    Joined:
    May 13, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    cd && cd ../usr/local
    mv ./apache ./apache-jul16
    cd && mkdir ./updates && cd ./updates

    rpm -e openssl-devel

    wget http://www.openssl.org/source/openssl-0.9.7b.tar.gz
    tar -xzvf ./openssl-0.9.7b.tar.gz
    cd ./openssl-0.9.7b
    whereis openssl
    rm -f /usr/bin/openssl
    rm -rf /usr/include/openssl
    ./config --prefix=/usr --openssldir=/usr/include/openssl
    make
    make test
    make install
    cd ../
    rm -rf ./openssl-0.9.7b


    mkdir ./upgrades
    cd ./upgrades

    rm -f ../../../usr/bin/php ../../../usr/local/bin/php

    wget http://layer1.cpanel.net/buildapache.sea
    sh ./buildapache.sea
    Select --> 6
    Press Enter
    Select --> PHP Module
    Press Enter
    Select --> Curl
    Press Enter
    Select --> Curl SSL Support
    Press Enter
    Select --> GD
    Press Enter
    Select --> MCrypt
    Press Enter
    Select --> Ming Support
    Press Enter
    Select --> FreeType Support
    Press Enter
    Press the --> arrow key
    Press Enter
    Press the --> arrow key
    Press Enter
    Press Enter

    cd ../
    rm -rf ./upgrades


    cd && cd ../usr/local/apache-jul16
    cp -a ./domlogs ../apache/domlogs
    cat ./conf/httpd.conf > ../apache/conf/httpd.conf


    Then..

    cd && httpd stop (A few times until it says 'Not running.' ..) . . .
    httpd startssl

    Copy the module it complains is missing from..

    /usr/local/apache-jul16/libexec

    TO

    /usr/local/apache/libexec

    ..and run the whole `cd && httpd stop` and `httpd startssl` a couple more times after copying more modules and it'll start again.


    EasyApukeOnMe sucks man; it never fails thisa way. . .

    You may need to edit the php.ini files to reflect the correct sendmail path as well --> /usr/sbin/sendmail -t -i

    I noticed it had come up with only 'exim' after either the newest Apache rebuilds.. or CPanel upgrades.... BAH.


    [EDIT] There's also the rare occasion where if you try to run `httpd startssl` it'll say something like 'could not be started' ..in which case, if you run ...

    cd && tail -f ../usr/local/apache/logs/error_log

    ...and it mentions something about 'Too many open files' ...or whatever, run these . . .

    cd && httpd stop (Be sure it's stopped!)
    ulimit -n 16384
    httpd startssl

    Thas it.
     
    #6 NiteStalker22, Jul 16, 2003
    Last edited: Jul 16, 2003
Loading...

Share This Page