cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR 500 - Premature end of script headers: index.php / no admin page

ERROR 500 - Premature end of script headers: index.php / no admin page

I just installed “Magento-CE-2.1.2-2016-10-11-11-19-27” without an error.

So the frontside is opening – but if I log on the backside with the administration account I got an “Error 500 - Premature end of script headers: index.php”

I checked a lot of pages, with different suggestions – but without any success.

 

So did a new install – without any error as well – and now thinking what makes sense to change in php.ini and .htaccess?

 

I did a screenshot of the info.php:

Capture.jpg

Please could you give some hint or advice?

 

Thanks a lot for your help in advance!

Best regards
Peter

3 REPLIES 3

Re: ERROR 500 - Premature end of script headers: index.php / no admin page

Hello Peter,

 

Have you checked your file permissions? A lot of the times I see premature end errors it's due to incorrect permissions.

 

Sometimes it can also be due to leftover options from a recent PHP upgrade/downgrade as well. For this you can check by running php -v and search for anything that references a different version than you have installed (7.0.4).

Leslie B.
Aspiration Hosting - Magento 1 & 2 Optimized Cloud Hosting
Problem solved? Click Accept as Solution!

Re: ERROR 500 - Premature end of script headers: index.php / no admin page

Dear Leslie,

thanks a lot for your reply.

I deleted the whole folder, reinstalled it in a new folder, same unhappiness like before... ;=(

i changed all the rights .... all files 0664 / all directories 0775 in Filezilla and checked them

 

in the code inspector, it shows like the screenshot above

So there is a trouble with the GET - and the java of the "RemoteAddonsParent.jsm:808" and i should build in the MutationObserver.

 

To be honest, i did a search..... till now really no glue

Maybe you got a hint for me, pls?

 

Capture-error.png

 

 

 

 

Re: ERROR 500 - Premature end of script headers: index.php / no admin page

ha, good news........!

I just played with the php.ini and the .htaccess -settings around - without any success.

 

After that i lowered the php Version from 7.0 latest GnuTLS to 5.6 latest GnuTLS and It works, I am able to log on as administrator!