• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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