• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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