Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Apr 2004
    Location
    Brisbane, Queensland, Australia
    Posts
    66

    Default manually upgrade mysql and php

    Just wondering how you manually upgrade MySQL 3 to version 4 and also how to upgrade PHP as well to the latest stable release through the SSH console?

    I know the option is available to do it through the web in WHM but I want to do it this way so I can learn more of the linux command stuff.

    Thanks.

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    In WHM under tweak settings select mySQL 4 and run /scripts/upcp from shell.

    To upgrade php, run the easyapache installer:
    /scripts/easyapache
    Beau Henderson

  3. #3
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    Quote Originally Posted by exodux
    Just wondering how you manually upgrade MySQL 3 to version 4 and also how to upgrade PHP as well to the latest stable release through the SSH console?

    I know the option is available to do it through the web in WHM but I want to do it this way so I can learn more of the linux command stuff.

    Thanks.
    Regarding Mysql ... Read the documentation on upgrading at http://mysql.com

    Regarding php ... save a page test.php with following
    <? phpinfo ();
    ?>

    This should give you the Configure command options compiled in...

    BTW, easiest starting point would be apache on a different target/prefix and then apache+php etc etc... If you wish to learn then don't be in a hurry, READ the docs n times before running a command and that's it

    Anup
    Last edited by anup123; 11-03-2004 at 10:14 PM.

  4. #4
    Member
    Join Date
    Apr 2004
    Location
    Brisbane, Queensland, Australia
    Posts
    66

    Default

    What I'm after is fully upgrading mysql, php and apache myself and not using any pre-made scripts by cpanel.

    I've looked all around and on google for the right way of doing things such as -
    wget mysql-url
    wget apache-url
    wget php-url

    tar -xvf mysql
    tar -xvf apache
    tar -xvf php

    ./configure mysql
    make
    make install

    ./configure apache
    make
    install

    ./configure php
    make
    make install

    etc, etc. i know there is alot more to what i've just stated which is what i'm after.
    Any help would be great.

    Thanks,

    John.

  5. #5
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    This is for clean install and not upgrades i believe. Don't rush through the docs else it could be catastrophic.

    Anup

  6. #6
    Member
    Join Date
    Apr 2004
    Location
    Brisbane, Queensland, Australia
    Posts
    66

    Default

    Any help would be great.

  7. #7
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    Quote Originally Posted by exodux
    Any help would be great.
    Just as i said.

    Step 1.
    compile plain apache with a different prefix and target directives and then make it run on a different posrt (say 82).

    Download the apachex_x.xx.xx.tar.gz
    tar -zxvf apachex_x.xx.xx.tar.gz
    Read The Documentation in detail. Get to know what prefix and target mean.
    Give a weeks time reading and understanding it before you run the first command

    Give at least 3 weeks on this lesson which includes configuring a site to run on this manually compiled apache also.

    Anup

Similar Threads & Tags
Similar threads

  1. Manually upgrade Mysql to 5.5, CPanel's Database lost
    By dihuta in forum New User Questions
    Replies: 0
    Last Post: 07-25-2010, 06:52 AM
  2. upgrade MySQL and php
    By freshorange in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-06-2009, 11:23 AM
  3. how to upgrade mod_ssl manually ?
    By s1llyforyou in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-17-2009, 12:25 AM
  4. How to upgrade php and mysql?
    By xmutan in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-31-2008, 02:25 AM
  5. Configuring PHP Upgrade Manually
    By pbmods in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-25-2007, 10:19 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube