• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

PHP not installed

D

DiegoJ

Guest
I installed plesk 9.5.3. with the included php

# /usr/local/psa/admin/bin/php -v
PHP 5.2.6 (cli) (built: Jun 9 2010 10:13:49)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

# /usr/bin/php -v
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.2 (cli) (built: Mar 5 2010 15:31:46)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

When I try to create a domain displays the following message:

PHP support (The component was not installed)

I modified the php field of the database to psa to "5.2.6" (the value is "not installed" ) but when I restart the service, the value returns to "not installed"

Any Idea??


Thanks!!!
 
Check and correct safe_mode with

# php -c /etc/php.ini -i |grep safe_mode

Check variable CLIENT_PHP_BIN in /etc/psa/psa.conf. There is should be symlink like /usr/local/psa/bin/php-cli -> /usr/bin/php
 
Check and correct safe_mode with



Check variable CLIENT_PHP_BIN in /etc/psa/psa.conf. There is should be symlink like /usr/local/psa/bin/php-cli -> /usr/bin/php

Don't work. Now...

]# /usr/bin/php -v
PHP 5.3.2 (cli) (built: Mar 5 2010 15:31:46)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

and psa.conf

CLIENT_PHP_BIN /usr/bin/php

Zend may be the problem?

Thanks!!!
 
I'm on it. How do you check this simlink?

I have only

/usr/local/psa/bin/php-cli

nothing after...

Thanks
 
I'm on it. How do you check this simlink?

GravuTrad:

Use the readlink command:
Code:
[root@www psa]# which readlink
/bin/readlink

[root@www psa]# readlink /usr/local/psa/bin/php-cli 
/usr/bin/php

[root@www psa]# ls -l /usr/local/psa/bin/php-cli 
lrwxrwxrwx 1 root root 12 Feb  2 06:23 /usr/local/psa/bin/php-cli -> /usr/bin/php

HTH,
 
Back
Top