Showing results for 
Search instead for 
Did you mean: 

error with /opt/cpanel/ea-php74/root/bin/php bin/magento setup:upgrade

error with /opt/cpanel/ea-php74/root/bin/php bin/magento setup:upgrade

Greetings,  please see screenshot


what permissions do I need to set?  and where?


view the webroot sudo commands

view the webroot chmod commands


Re: error with /opt/cpanel/ea-php74/root/bin/php bin/magento setup:upgrade

Hi @Sheba,


You need to use the command 'cd' navigate to your Magento 2 site's root folder and run the below command: 

chmod -R 777 var pub generated
/opt/cpanel/ea-php74/root/bin/php bin/magento setup:upgrade

Hope this can help you! Let me know if you need further assistance. 


If issue solved, Click Kudos & Accept as Solution.

LitExtension - #1 Shopping Cart Migration Expert

LitExtension helps store owners and agencies migrate all important data from one eCommerce platform to another accurately, securely and at the highest speed.

Visit website: