i'm here to ask help.
I've a little problem very weird. I need to make a modification on Magento website so i've upload all file and create a dump of the database (production) to create on local the copy on the website.
i create data base and import the dump, i 'have folder with the magento project and my MAMP works perfectly.
I also change the file env.php to connect to the local database and i've make this "http://127.0.0.1/Servercopy/" and https://127.0.0.1/Servercopy/ for this 2 line : web/unsecure/base_url and web/secure/base_url on table core_config_data
i also test with localhost and i also modify ma MAMP to connect directly to the folder Servercopy
I always the same error when i try to go to : "http://127.0.0.1/Servercopy/"
i 've HTTP ERROR 500
someone have an idea ?
thanks for help me.
Enable the error reporting in the following file.
Un-comment the below line.
I hope it will help you!
Please follow the below steps to resolve this
1. Check with .htaccess if missing than please add it if there than please try to check it or use default magento .htaccess file
2. Please check mode_rewrite mod enable in your localhost
3. if you still facing issue than please check permission of your files and folders.
4. Please run below commands
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Let me know if any issues
If my answer is useful, please Accept as Solution & give Kudos
Please check var/log file of lamp.
find path of log file apache2 or nginx and check error.log for same.
Hope it will help you.