- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys.
I just set up a local server using MAMP on MacOS Mojave, and installed magento in htdocs.
I can access the admin panel, but when i click on the web setup wizard, it opens an empty white page. I downloaded the Magento CE 2.3.2 package from the magento site and installed it using a web interface. didn't do any other configurations except to change the PHP memory limits to 4096G in .htacess and .usr.ini (as well as in the MAMP PHP config files).
Has anyone encountered this problem before?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ben_zhang
Try the following command to setup proper permission to magento directory.
find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento
After it run the following magento commands in the sequence.
chmod -R 0777 var/ pub/ generated/ rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush php bin/magento indexer:reindex chmod -R 0777 var/ pub/ generated/
I hope it will help you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sudo chmod u+x bin/magento
If you are able to run further commands then it is fine as well.
php bin/magento
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ben_zhang
Try the following command to setup proper permission to magento directory.
find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento
After it run the following magento commands in the sequence.
chmod -R 0777 var/ pub/ generated/ rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush php bin/magento indexer:reindex chmod -R 0777 var/ pub/ generated/
I hope it will help you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot access Web Setup Wizard while on localhost
thanks for your reply!
after I ran the first command, it changed a bunch of file permissions but returned
chmod: bin/magento: no such file or directory.
it's weird because I can see the file in Finder.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot access Web Setup Wizard while on localhost
thanks! worked perfectly.
but for other's sake, I do wanna point out that it involves changing the PHP memory limit of the loaded PHP configuration file. don't touch the .htaccess file! the loaded configuration file won't be in the directory.
and for those who are really new... go to application > MAMP > <your magento root directory> and right click on the folder. at the bottom will be a open terminal option. key in your commands from there. i was ignorant once too
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot access Web Setup Wizard while on localhost
Btw for magento memory limit issue you can add following parameter in command.
php -d memory_limit=-1 bin/magento
Or you can add following line in index.php of magento root folder.
ini_set("memory_limit","-1");