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:
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:
I hope it could help someone
Greetings
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: