cpanel - 用不同的版本的php命令 - /opt/cpanel/ea-php72/root/usr/bin/php - An exception was raised while creating "Request"
现象:在cPanel环境中执行magento2的命令,如 php bin/magento cache:flush
提示出错:
An exception was raised while creating "Request"; no instance returned
尝试:用正确的php版本路径再次执行,如 /opt/cpanel/ea-php72/root/usr/bin/php bin/magento cache:flush
参考: