update of php 5.1.6 to 5.3.26

6 posts / 0 new
Last post
#1 Sat, 02/01/2014 - 11:14
jose1310

update of php 5.1.6 to 5.3.26

now I have a fresh install of webmin, which currently has php 5.1.6

I want to update to php 5.3.26

what is the procedure?

Thank ;-)

Mon, 02/03/2014 - 03:47
lp86

What operating system are you running? Are you also running Virtualmin? PHP 5.3.26 is a bit out of date, the latest is 5.3.28. Also PHP 5.3 is going to be end of life in July.

Mon, 02/03/2014 - 06:36
jose1310

i used : Centos 5.x + Webmin & VirtualMin

  • how to update PHP?

  • is there any option to recompile apache?

thank

Mon, 02/03/2014 - 06:36
jose1310

i used : Centos 5.x + Webmin & VirtualMin

  • how to update PHP?

  • is there any option to recompile apache?

thank

Mon, 02/03/2014 - 07:51
lp86

You can install the CentOS provided PHP 5.3.3 packages, the packages are called PHP53, you will have to remove all of the existing PHP 5.1.6 packages first, then install the PHP53 packages.

This version of PHP 5.3.3 is kept up to date by Redhat, so you get security updates but the version stays the same (5.3.3).

If you manage to find 5.3.26 somewhere, it will be out of date. I haven't seen any software that requires anything higher then 5.3.3.

Why do you want to recompile Apache? It is kept up to date by the virtualmin team, if you were to compile it, you would have to do it every time there is a new release to keep your server secure. I see this quite a bit with cPanel users with EasyApache. Little do they realize that they must run it every time a new version is released to get security updates/etc.

Thu, 05/01/2014 - 15:37 (Reply to #5)
jmunjr

Do you know of a guide somewhere that accurately instructs how to do this uninstall and reinstall of PHP 5.3?

A lot of what I have found is using 3rd party repositories and such. I'm trying to find out how to do this correctly the first time. Any advice is appreciated.

Topic locked