Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'General Discussion' started by jfxberns, Dec 26, 2006.

  1. jfxberns

    jfxberns Member

    Dec 29, 2003
    Likes Received:
    Trophy Points:
    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.

  2. Spiral

    Spiral BANNED

    Jun 24, 2005
    Likes Received:
    Trophy Points:
    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 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! ;)

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice