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.

Upgrad PHP in WHM

Discussion in 'General Discussion' started by frank-norge, Oct 23, 2006.

  1. frank-norge

    frank-norge Member

    Joined:
    Mar 23, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    Whan i upgrade php inside WHM, php will not working, this upgrade brake php. Whats wrong ?
    (I use php4.4.3 all upgrade version break php)

    I hope somebody can help me with this problem.

    Thanks
     
  2. bloggz

    bloggz Member

    Joined:
    Jul 20, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    How do you mean 'break' PHP, what are the symptoms? ;)
     
  3. frank-norge

    frank-norge Member

    Joined:
    Mar 23, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    PHP not working after upgrade
     
  4. frank-norge

    frank-norge Member

    Joined:
    Mar 23, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    heeeelp

    Hello

    I have this error on 3 server, i cant upgrade PHP inside WHM when i upgrade php stop PHP working.

    Is this problem a big bug in WHM ??

    i use PHP 4.4.3 and WHM 10.8.0 cPanel 10.9.0-S58

    Thanks for all help...
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Please detail the steps you are using to upgrade PHP. Thank you.
     
  6. frank-norge

    frank-norge Member

    Joined:
    Mar 23, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    1 - I log in to cPanel
    2 - I press on Apache update
    3- i will update to 5.1.6
    4 - I press Start Build

    After i have do this PHP not working anymore, Then i must go back to : Load Previous Config and the php working again. ( with php 4.4.3 )
    but this update not working when i update to another version..

    Same errror on all my server...

    What is this problem ?
    This error happening after upgrade to latest cPanel Php Working before i upgrade cPanel to latest.
     
  7. mgscox

    mgscox Registered

    Joined:
    Oct 10, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    WHM ignoring PHP version in Server update and compiling PHP 4.4.4

    Same problem - solved by getting it to compile 5.1.4 instead of 5.1.6
     
  8. frank-norge

    frank-norge Member

    Joined:
    Mar 23, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello, I try 5.1.4 but not working
    ------------------------------------
    This happening :

    Building Apache Config.....Done
    Downloading and compiling apache+modules....


    Fetching http://layer1.cpanel.net/buildapache.sea (0)....@69.72.164.155......connected......receiving...1%...3%...4%...6%...7%...9%...10%...12%...13%...15%...16%...18%...19%...21%...22%...24%...25%...27%...28%...30%...31%...33%...35%...36%...38%...39%...41%...42%...44%...45%...47%...48%...50%...51%...53%...54%...56%...57%...59%...60%...62%...63%...65%...67%...68%...70%...71%...73%...74%...76%...77%...79%...80%...82%...83%...85%...86%...88%...89%...91%...92%...94%...95%...97%...98%...100%......Done
    Verifying archive integrity... All good.
    Uncompressing buildapache......................................................................................................................................................................................................................................
    Checking Update System........Rpm Sanity Check PASSED!
    Verifying compiler and libs....Verifying installation....
    Fetching Obsoletes list for channel: rhel-i386-es-4...

    Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

    Fetching rpm headers...

    Name Version Rel
    ----------------------------------------------------------


    The following packages you requested are already updated:
    wget

    /scripts/ensurerpm [@buildapache]...(--quiet --safe --usecache libxpm4 ImageMagick libxpm4-devel libxpm4-dev ncurses ncurses-devel ncurses-dev libncurses5 libncurses5-devel libncurses5-dev gettext gdbm gdbm-devel libgdbm2-devel libgdbm2-dev db4 db4-devel db4-dev db1 db1-devel db1-dev db1-tools patch kernel-headers linux-headers glibc-kernheaders pam-devel pam-dev krb5-devel krb5-dev openssl openssl-devel ssl-dev libssl-dev openssl-dev libopenssl0 libopenssl0-devel libopenssl0-dev flex lex bison glibc-devel glibc-dev gcc gcc-c++ libgcc cpp libstdc++ libstdc++-devel libstdc++-dev jpeg libjpeg libjpeg-devel libjpeg-dev libjpeg62 libjpeg62-devel libjpeg62-dev png libpng libpng-devel libpng-dev libpng10 libpng10-devel libpng3 libpng3-devel libpng3-dev libtiff libtiff-devel libtiff-dev libtiff3 libtiff3-devel libtiff3-dev XFree86-libs XFree86-devel XFree86-dev libopenssl0.9.7-devel libopenssl0.9.7-static-devel libltdl xorg-x11-devel pspell pspell-devel zlib zlib-devel zlib1-devel libz-devel tdl aspell aspell-devel xorg-x11-devel libc-client-devel libtool automake libungif-devel libtool-libltdl-devel libtool-ltdl-devel libltdl-devel libltdl3-devel).... . . . . Done
    Done
    Done
    ********************************
    This is buildapache version 1.5.402 (for cpanel <= 10.9.3) (ap=1.3.37)
    ********************************
    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.....xxxxxxxxxxxx.....Done
    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
    initfpsuexec: using apache 1.x support
    Attempting to restart httpd
    Waiting for httpd to restart....
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    finished.


    httpd status
    root 20908 2.8 0.4 8180 5112 ? Ss 11:50 0:00 /usr/local/apache/bin/httpd -DSSL



    httpd started ok
    Build Complete

    ------------------------------------
    Whats Wrong ????
     
  9. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Downgrade MySql to 4.1.19 then your php will compile fine in easyapache. Then upgrade your sql. Its a fast and easy way to get around the problem.
     
  10. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    Same problem here....I think bug in latest cpanel versions...
     
  11. frank-norge

    frank-norge Member

    Joined:
    Mar 23, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Help

    i need help for upgrade php to latest or can somebody tell me how i can downgrade/upgrade my PHP.

    Thanks for all help
     
  12. myBox

    myBox Active Member

    Joined:
    Jan 6, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6

    how do you downgrade mysql ?

    thanks
     
  13. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Be sure you have updated backups of your mysql directories.

    You can install the rpm directly or set your whm to do it for you.

    Edit this file
    /var/cpanel/cpanel.config

    and find the line for mysql-version
    change this parameter to look like this:
    mysql-version=4.1

    Then log into your whm and you will have mysql 4.1 available in
    tweak settings. Read the advisory in that section for changing
    mysql versions as well.
     
Loading...

Share This Page