Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    13

    Default PHP 5.x.x: Can WHM Compile with mysql and mysqli APIs Automatically?

    Can WHM compile PHP 5.x.x (an version, the newer the better) with both the mysql and mysqli APIs from teh Apache Install Control Panel automatically--or does that still require a manual compile of PHP?

    I have been compiling PHP 5 with oth manyally on my cPanel/WHM enabled server and I am tiring of the hassle of doing it manually each time and not knowing where or if I will run into errors.

    Sigh.

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    You could use cron jobs and scripts to upgrade PHP automatically but I don't recommend it ...

    If a new version is released and changes something that isn't compatible with your current
    options, the upgrade could fail and leave your system in a non-usable state until you
    come around and fix it.

    You are lucky to see a new PHP release once every couple of months usually so it really
    should not be much of any issue to just update manually as new releases become available.

    Set yourself up a compile script ....

    wget (whatever url to php source)
    tar zxvf (archive)
    cd (php source)
    ./configure (whatever options you want)
    make
    make test
    make install

    You can run your compile script you create in a single command when updates are
    available and just sit back and watch to make sure nothing goes wrong.

    That's about as easy as it gets!

Similar Threads & Tags
Similar threads

  1. Compile CPPHP with MySQLi option
    By cmanns in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-26-2009, 03:38 PM
  2. Upgrading to PHP 5.2.x - mysql/mysqli problems to look out for?
    By webignition in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-30-2007, 04:32 AM
  3. PHP 5.04 without mysql/mysqli conflict?
    By Pirotess in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 09-26-2005, 12:36 AM
  4. Compile php with --with-mysql=path_to_mysql
    By kompo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-08-2005, 07:56 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube