• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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