I'm already check PHP 5.2.0 in WHM than press build.....but this is not update my PHP.My PHP still 5.1.6
Any idea for this ?
Any idea for this ?
However, if you run Zend Optimizer, then the decision to upgrade is complicated by the fact that Zend still hasn't released a version compatible with PHP 5.2. Ioncube, on the other hand, has a 5.2-compatible version.We upgraded all of our servers to PHP 5.2.0 as soon as it came out last week!
Since serious security vulnerabilities have been discovered in all versions of
PHP up to and including 5.1.6 (including 4.x), it is recommended now that
everyone not wait for Cpanel to get around to making 5.2.0 available and
just go ahead and upgrade now.
in whm, notice, when you select php 5.2.0, it unchecks the PHP module checkbox.. as such, when it runs the build php doesn't get rebuilt... you have to recheck the box after selecting the version.I'm already check PHP 5.2.0 in WHM than press build.....but this is not update my PHP.My PHP still 5.1.6
Any idea for this ?
Now is OK....Thanks this trick..in whm, notice, when you select php 5.2.0, it unchecks the PHP module checkbox.. as such, when it runs the build php doesn't get rebuilt... you have to recheck the box after selecting the version.
I'm sure it's just a silly bug.
Hey,Basically in a nutshell ....
Download the source from the PHP site and unpack the archive
Grab the "./configure" line from from your current PHP version using phpinfo()
and then go to the folder where you unpacked the source and run that
configure line you grabbed from your current PHP installation.
make
make test
make install
That's pretty much it! Usually doesn't take but a minute or two to upgrade.
what I've done, it's not the fastest, but it seems to be what works best without disabling cpanel from doing what it wants.Hey,
So that would just upgrade PHP correct? What if we wanted to run PHP4.4.4 as the main and PHP5.2 as a CGI.
Current server setup
PHP4.4.4 main
PHP 5.1.6 CGI --> PHP 5.2
Thanks,
Adam
correct.. I'd make a copy of the binaries as php4 & php5.1.6 respectively.. that way if anything goes wrong you can quickly copy them back.Hey,
Thanks Freedman,
One quick question tho,
I have PHP4 installed as a CLI and PHP5.1.6 installed as a CGI. I'm guessing I do not need to remove them before I do this. Just run that easyapache from the command line with all the options and it should replace them both with PHP4.4.4, correct?
well. I suppose you could, but it would be a nightmare to maintain and would introduce performance problems... but, and this is not a HOWTO, I'll just mention the basic idea of what you need in order to accomplish this as far as I know--there might be a better way.so, when I have 4.4 as cgi and 5.2 as cli ... how to easy switch between versions ?
can I define per account using 4.4 or 5.2 ?
Wojtek