• 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.

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