• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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