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.

What best way to upgrade to Apache 2, php 5 and MySQL latest

Discussion in 'EasyApache' started by Jemrada, Jan 1, 2006.

  1. Jemrada

    Jemrada Member

    Joined:
    Jun 30, 2005
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I am kind of new and never use the WHM > Software > Apache update before.

    How can I update to latest php 5, Apache 2 and MySQl 5? I am on cPanel 10.8.1-S31

    I have about 67 clients on the server hsoting diffrent scripts and such. Should I do this and what is the best way?

    I usually have admins to do this, i wanted to give it try myself. The most detaile dyou can be would be the best.


    Thanks in advance.
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    The cPanel doesn't support Aache 2.0.x and/or MySQL 5.x, yet. You can upgrade Php to v5.x through the WHM. In addition, you can upgrade MySQL to v5.x, but you'll have to do that manually and not through either the WHM and/or the cPanel scripts at the prompt.
     
  3. Secret Agent

    Secret Agent Guest

    Anyone aware of any cons of upgrading to PHP 5.05 on a shared web server? I'm using 4.4.1 now with Apache 1.33x
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    It's pretty much seamless ...

    The only problem that I ran into when upgrading to PHP 5.0.5 from WHM is that during
    the recompile, the Apache update commented out BOTH the original PHP4 module
    lines and the new PHP5 module lines in /etc/httpd/conf/httpd.conf.

    After the upgrade, just go into "httpd.conf" and uncomment the 2 lines pertaining to PHP5
    and then do a restart on your Apache server and you should be up and running.
     
  5. Secret Agent

    Secret Agent Guest

    Are there any cons "side effects" to upgrading from php 4.4.1 to Php 5.05?
     
  6. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    None that I've observed ....

    Scripts and programs created for v4 will run just fine under v5 ....

    Going to v5 just gives you a few more functions particularily with arrays and string handling
    and also greatly extends PHP's OOP capabilities.
     
  7. DIYHosting

    DIYHosting Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Saskatoon, SK, Canada
    There are actually a lot of differences between PHP4 and 5 so some older scripts may not work...
     
Loading...

Share This Page