• 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.

Article ID: 115733 from KB: Downgrading PHP 5.3 has a bug

Antonio Sanchez

New Pleskian
Hello all,

Yesterday I tryed to downgrade default PHP version from Plesk 11 to a PHP 5.2.17 in a CentOS 6 VE.

I followed the instructions on the KB Article 115733 and I have found a problem in the last sentence.

It says:
Code:
yum downgrade $(rpm -qa --qf "%{NAME} " | grep -v ioncube | grep ^php | awk '{print $1"-5.2.17"}')

The "Query Format" of the YUM command has a missing "\n" (new line) and so the regular expressions don't show any result.

To solve it this should be the right sentence:
Code:
yum downgrade $(rpm -qa --qf "%{NAME}\n" | grep -v ioncube | grep ^php | awk '{print $1"-5.2.17"}')

I hope it could help someone

Greetings
 
Last edited:
Back
Top