• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question PHP-CLI - is it enabled for hosting?

  • Thread starter Deleted member 174786
  • Start date
D

Deleted member 174786

Guest
Ubuntu 14.04.4 LTS
PHP any version from 5.3+
Plesk 12.5.30 Update #47

I am installing Cumulus and one of its requirements for uploading is to have php-cli enabled and I have enter the path to it.

c3.png


Is php-cli enabled on Plesk? If not, can it be enabled? If it is, how do I find its location?

Thanks for the help!
 
It depends on PHP version which you are using for this domain. Path may be found in

/opt/plesk/php/XXX/bin/php

where XXX is your PHP version for this domain.
 
Is that the same as php-cli?

I am using 5.3 and I tried /opt/plesk/php/5.3/bin and /opt/plesk/php/5.3/bin/php and I still get the message.
 
I see following content of plesk-php53-cli package:

# rpm -ql plesk-php53-cli-5.3.29-centos6.15102117.i686
/etc/psa/php_versions.d/plesk-php53-cgi.conf
/etc/psa/php_versions.d/plesk-php53-fastcgi.conf
/opt/plesk/php/5.3/bin/lsphp
/opt/plesk/php/5.3/bin/phar
/opt/plesk/php/5.3/bin/phar.phar
/opt/plesk/php/5.3/bin/php
/opt/plesk/php/5.3/bin/php-cgi

If /opt/plesk/php/5.3/bin/php doesn't work, try /opt/plesk/php/5.3/bin/php-cgi ot try to create symlink for php-cli to php
 
Back
Top