cancel
Showing results for 
Search instead for 
Did you mean: 

A 50X error occurred

A 50X error occurred

I am trying to install Magento 2 on my localhost. I can access magento 1.9 files but magento 2 folder is not shown under /localhost.

When I type localhost/magento-2.3 to URL it says A "50X error occurred - Sorry, the page you are looking for is currently unavailable. Please try again later." How to fix this?
Thank you.

7 REPLIES 7

Re: A 50X error occurred

Hi @mage_ento1

 

Please check error log of php, where you can get the detail of this error.

 

Problem solved? Click Kudos & Accept as Solution!

If you find my answer useful, Please click Kudos & Accept as Solution.

Thanks Smiley Happy

Re: A 50X error occurred

Hello @mage_ento1

 

Which PHP version you are using please share:

Use below command to find PHP version:

php -v

Magento 2.3 will work with PHP 7.2 and PHP 7.1.3 or greater versions only.

Manish Mittal
https://www.manishmittal.com/

Re: A 50X error occurred

Hi, I switched to PHP 7.1 on my AMPPS control panel, but still cannot see the magento2 folder. I also tried to download it from AMPPS' control panel but it says:

The following errors were found :

  • Magento is not supported on windows.

Re: A 50X error occurred

Actually, there are just warnings not errors. I can use different frameworks and magento 1 already.

Re: A 50X error occurred

Hi again, I delete .htaccess file and could access to the magento 2.3 folder. During installation magento 2, it stucked at %0. Now I gave up and try to install magento 2.2 but it says "Autoload Error - Vendor autoload is not found. Please run 'composer install' under application root directory." When I install via composer, it gives me problems like "PHP 5.6 does not satisfy requirement" or "intl extension is requested", but I have done them already. It says my PHP version is 7.1.8 in phpinfo, but magento says it is 5.6 and it's getting more confusing.

Re: A 50X error occurred

Hello @mage_ento1

 

You can set the default php version in the htaccess file as follows:

 

https://my.justhost.com/hosting/help/htaccess-php-handlers

Manish Mittal
https://www.manishmittal.com/

Re: A 50X error occurred

Hi @mage_ento1,

You should upgrade your PHP version from 5.6 to 7 since it magento 2.3 only supports PHP 7 version.

If my solution is useful, give kudos & accept as solution

Best regards
Madhuresan
Bootsgrid