Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    9

    Default PHP dead after 7.2.0 R39 upgrade

    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. #2
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default Re: PHP dead after 7.2.0 R39 upgrade

    Originally posted by zartanch
    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:
    Try looking at a few threads here. If you had one of the incompatible modules....

    Brenden

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Feb 2003
    Location
    The Netherlands
    Posts
    149

    Default

    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. #4
    Member
    Join Date
    Oct 2002
    Posts
    11

    Default

    Upgrade to php 4.3.2

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Oct 2002
    Location
    Egypt
    Posts
    391

    Default

    try
    /scripts/updatenow
    /scripts/killmodav

    cPanel.net Support Ticket Number:

  6. #6
    Member
    Join Date
    May 2002
    Posts
    29

    Default

    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.
    Last edited by NiteStalker22; 07-16-2003 at 08:26 PM.

Similar Threads & Tags
Similar threads

  1. Command line PHP dead after upcp last night.
    By mmatos in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-12-2008, 12:54 PM
  2. SQL Dead After Upgrade
    By Amish Patel in forum Database Discussions
    Replies: 1
    Last Post: 09-21-2005, 11:37 AM
  3. SQL Dead After Upgrade
    By Amish Patel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-21-2005, 11:37 AM
  4. Tomcat Module, dead after upgrade
    By mcoms in forum cPanel Developers
    Replies: 2
    Last Post: 03-26-2005, 06:45 PM
  5. webmail dead after 9.1.0-R52 upgrade
    By jsteel in forum cPanel and WHM Discussions
    Replies: 28
    Last Post: 03-12-2004, 07:07 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube