P PriyanA Regular Pleskian Mar 30, 2016 #1 Hi, How to use Plesk PHP 7 via CLI? Eg. php magento cache:status
P PriyanA Regular Pleskian Mar 30, 2016 #3 Ok! found the path! /opt/plesk/php/7.0/bin/php magento cache:status Working now, Thank you!
abdi Platinum Pleskian Mar 30, 2016 #4 Run: Code: whereis php This should list it's installation path. Then after, just select the bin path and run it e.g. Code: /usr/bin/php7 script.php (ONLY Example and NOT the actual path)
Run: Code: whereis php This should list it's installation path. Then after, just select the bin path and run it e.g. Code: /usr/bin/php7 script.php (ONLY Example and NOT the actual path)
P PriyanA Regular Pleskian Mar 30, 2016 #5 PHP 7 path is /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/bin/php magento cache:status works! 'whereis php' gives you system default php path.
PHP 7 path is /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/bin/php magento cache:status works! 'whereis php' gives you system default php path.