cancel
Showing results for 
Search instead for 
Did you mean: 

500 Internal Server error once uploading file

500 Internal Server error once uploading file

I am facing 500 internal error once i uploaded the files to root folder. What will be the solution. Can anyone guide me please

4 REPLIES

Re: 500 Internal Server error once uploading file

How to diagnose «500 Internal Server Error» https://mage2.pro/t/854

Re: 500 Internal Server error once uploading file

Hi everyone i got solution

 

as i updated my php version 5.2 to 5.6 now.

 

But got new error

 

Your PHP Version is 5.6.17, but always_populate_raw_post_data = 0. $HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0. This will stop the installer from running. Please open your php.ini file and set always_populate_raw_post_data to -1. If you need more help please call your hosting provider.

 

I changed to -1 too.. but its not affecting. and when i called to hosting provider they are not ready to restart the server.

 

Until it restarts wont it take effect?

Re: 500 Internal Server error once uploading file

You can set in through the root .htaccess file without restarting Apache.

Re: 500 Internal Server error once uploading file

how to achieve that.

 

http://step-by-step-programing.blogspot.in/2015/09/magento-2-error-to-php-version-check.html

 

I got solution here about updating .htaccess

 

but where to add this 

 

php_value always_populate_raw_post_data -1

 

line of code in htaccess file