PDA

View Full Version : PHP & Apache Upgrade


jadent
8th May 2008, 02:08 PM
How can you upgrade PHP? PCI complience demands 5.2.4 or better but Plesk comes with 5.1.6

Same goes for apache. How can i upgrade to 2.2.8?

danliker
8th May 2008, 03:46 PM
plesk does not deliver php or apache, thats all taken from distribution you have installed. If you keep your installed os up to date everything is ok. the distribution normally do a backport of the fixes to the version they use ...

jadent
9th May 2008, 04:20 PM
I don't believe this is true. In fact i have installed plesk on a machine which did not have apache or php and Plesk installed it.

I have also been told that upgrading PHP or apache can break Plesk's functionality if not done correctly.

Has anyone actually upgraded apache or PHP in Plesk successfully? If so did you just uninstall the apache and PHP RPM's and install new ones?

atomicturtle
9th May 2008, 04:29 PM
Plesk is installing apache, php, bind, mysql, etc from the vendor's repositories. Those packages are maintained by the vendor in the normal way (yum, up2date, etc).

Upgrading PHP is not an issue with PSA, I have 5.2.6 rpms available for CentOS 4/5, RHEL 4/5, and Fedora 4-9 now. Apache can be a bit more complicated, provided you are sticking with the major release for your distribution (IE, Apache 2.0 for CentOS 4, Apache 2.2 for CentOS 5, etc) you won't have any issues.

jadent
9th May 2008, 04:30 PM
Thanks i'll give it a try

breun
9th May 2008, 09:06 PM
You also might want to read http://www.redhat.com/security/updates/backporting and learn why running PHP 5.1.6 is not really a security problem when you keep up with your vendor's updates (provided the vendor is still supporting the distribution and backports fixes).

SliderMKH6
14th May 2008, 06:09 PM
atomicturtle you are my hero! That was so easy and with no problems :) Thank you!

ACID25
15th May 2008, 06:13 AM
@atomicturtle did you have the php-5.2.6 rpms in your channel? i see nothing if i do an yum check update on my centos-5 server....

thx and regards
ACID25

breun
15th May 2008, 06:18 AM
They are in testing: http://www.atomicorp.com/channels/atomic-testing/ You can try them if you like or you'll have to wait till they're pushed to stable.

ACID25
15th May 2008, 06:35 AM
THX @breun ok i´m waiting for the stable release;-)