Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I just installed Godaddy SSL to my VPS.

but when I run php files on https , i get Internal server error.

what may cause this ?

share|improve this question
    
My PHP version is 5.3 –  RULE101 Oct 24 '10 at 22:48
    
We would need much more information to answer this, are there any messages logged, does it work without ssl, what should the code do, do static pages work, what os and web server is this running on. –  Sam Oct 24 '10 at 22:50
    
Everything works fine on normal HTTP but PHP doesnt work on HTTPS. Static pages works great on HTTPS. Runs on APACHE. And PHP 5.3 –  RULE101 Oct 24 '10 at 23:00
    
Do you have access to the apache logs? The answer is probably in there. –  chunkyb2002 Oct 25 '10 at 0:15
    
i can see error and access logs only –  RULE101 Oct 25 '10 at 0:35

1 Answer 1

up vote 0 down vote accepted

The cause of errors reported as "Internal Server Error" are shown in the web-server's error log.

Causes vary widely, for example the PHP script might not have the correct access permissions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.