- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2018
05:38 AM
11-02-2018
05:38 AM
Magento2 Error while running commands
Hello All,
I am getting error while running php bin/magento deploy:mode:set production
Please give me proper solution.
Certified Magento 2 Developer
Vivek Singh
Vivek Singh
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2018
10:11 AM
11-02-2018
10:11 AM
Re: Magento2 Error while running commands
Hi @Vivek Singh
I understand the error you are facing - but we are not able to see your screenshots - kindly share the error log which you are able to see - its help us to troubleshoot the issue !
if issue solved,Click Kudos & Accept as Solution
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2018
11:55 PM
11-02-2018
11:55 PM
Re: Magento2 Error while running commands
Hello @Manthan Dave
I am facing these issues
php bin/magento deploy:mode:set production
Enabling maintenance mode
Starting compilation
Something went wrong while compiling generated code. See the error log for details.
Disabling maintenance mode
Command returned non-zero exit code:
`/usr/bin/php -f /var/www/html/bin/magento setup:di:compile`
Enabling maintenance mode
Starting compilation
Something went wrong while compiling generated code. See the error log for details.
Disabling maintenance mode
Command returned non-zero exit code:
`/usr/bin/php -f /var/www/html/bin/magento setup:di:compile`
And when i see error log its an error of memory limit. I increase the memory limit in php.ini file but i think this is not the right solution.
Can u suggest me any better solution for this?
Certified Magento 2 Developer
Vivek Singh
Vivek Singh