• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Upgrading to PHP 5.2.17

PTS

New Pleskian
Hello all, I'm pretty comfortable with CLI but I want to make sure I'm taking the right steps when upgrading to PHP 5.2.17. I have a few websites that I can't afford to go down because of an upgrade failure.

I've got Plesk 10.1.1 running on CentOS 5 with the atomic repository already installed. To update to PHP 5.2.17, I am assuming the first step is as follows:

yum update php

If I proceed to install the two new packages and upgrade 18 existing packages, what are my next steps if any?

Does MySQL need to be updated? Right now I get the following error in phpMyAdmin: Your PHP MySQL library version 5.0.77 differs from your MySQL server version 5.1.52. This may cause unpredictable behavior.

Other than that error, everything runs well.

Thanks in advance.
 
Thanks Igor, I did see that page after posting this thread. That said, I do have a questions about Steps 3 and 4.

Step 3) Replace the PHP 4 php.ini with PHP 5.2.x's (if applicable):
mv /etc/php.ini.rpmnew /etc/php.ini

Step 4) Replace the php.conf with the PHP 5.2.x php.conf (if applicable):
mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf


I'm upgrading from PHP 5.1.x so I assume Step 3 isn't applicable. What are you recommendations for Step 4? How do I know it it's applicable or not.

Thanks again.
 
I think it would be better contact atomicturtle user on this forum regarding their solution :)
 
Great question, the simple answer is if /etc/httpd/conf.d/php.conf.rpmnew exists then you probably need to do step 4.
 
Back
Top