• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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