• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

php -v no result

A

AyazA

Guest
Hello

yesterday i installed the Plesk 9.5 and updated the php 5.2 into php 5.3 after that when i checked the php version by using command as below:


php -v and this command give me php 5.3 version with PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0


after that i found the solution through google and i get one solution which link is: http://forum.parallels.com/showthread.php?t=106087


when i used the command in above solution which command :
/usr/local/psa/bin/php-cli -> /usr/bin/php

applied this command then when i checked the php version again by php -v command but it is not giving any result.

php -v log via SSH:
[root@NSW ~]# php -v
[root@NSW ~]#

so plz any body how i can fix it and how i can remove the link between php-cli with php


plz need help urgent.


thanks
ayaz ali
 
Try :

yum downgrade php* for two times so it will downgrade to version 5.2.17.

Then try again yum upgrade php* and make sure you change the php.ini with the new one

mv /etc/php.ini /etc/php.ini_old
mv /etc/php.ini.rpmnew /etc/php.ini

And restart apache if everything is working.
 
Back
Top