cancel
Showing results for 
Search instead for 
Did you mean: 

CentOS installation 500 error

CentOS installation 500 error

This is my first time installing Magento on my Cloud server which is running CentOS and php 7.2.

 

I have unzipped the files in a subdirectory, and gone to:

http://subdomain.domain.com/folder/setup and I just get a 500 error.

 

Any ideas?

 

Thanks!
Andy

3 REPLIES 3

Re: CentOS installation 500 error

Hi @andy_jones2,

Make sure that you installation folder has proper permission.

Try once with following permissions.

sudo chmod -R 0777 YOUR_INSTALLATION_DIRECTORY

AFTER installation you need to give following permissions.

cd Magento_installation_directory

sudo find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento

sudo chmod -R 0777 var/ pub/ generated/

I hope it will help you!

Re: CentOS installation 500 error

Thanks - I tried this but still have a 500 error!

Re: CentOS installation 500 error

Check once ".htaccess" file on the root folder. Or try once after removing this.

You can copy again after test