moshe_gorin — 2010-04-02T17:44:25-04:00 — #1
I just installed new cPanel 11 and now I'm having problems with php pages. All .html and .gif pages load fine, but any page with a ".php" extension doesn't load properly and gives the error:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."
Note that php is working because I'm able to access phpMyAdmin via cPanel. Please advise.
sk89q — 2010-04-02T18:09:59-04:00 — #2
Check the appropriate Apache error log.
moshe_gorin — 2010-04-04T13:28:34-04:00 — #3
I checked /usr/logs/apache and error_log. The log was too big so I deleted it and made a new file. Now no new logs are showing up.
Do you have any other suggestions?
moshe_gorin — 2010-04-04T16:59:40-04:00 — #4
I made a page "test.html"
It contains the text "test" and it loads
As soon as I change the filename to "test.php" I get the error: "500 Internal Server Error"
Note that the error_log says:
"[Sun Apr 04 15:53:44 2010] [error] [client 18.104.22.168] SoftException in Application.cpp:256: File "/home/tbz/public_html/test.php" is writeable by group
[Sun Apr 04 15:53:44 2010] [error] [client 22.214.171.124] Premature end of script headers: test.php"
What do you think is the problem?
paul_wilkins — 2010-04-04T17:56:45-04:00 — #5
It says that the file "is writeable by group" so I would check to see if the file/folder permissions match up with what cPanel says they should be.
I know no more than this about the issue though, so you may want to see if our Server Management forum has any further assistance.