views:

28

answers:

1

Getting Internal Server Error in Godaddy Server lately.

I change the timelimit and memorylimit and upload the php5.ini to the root directory in server. But still i get this error.

Please help.

A: 

This is one of the dumbest error messages I've ever encountered. Some possible solutions I tried and worked:

  1. enable log rotation in Apache; sometimes logs get huge and cause parsing issues
  2. make sure suPHP is configured properly; this is one of the most common issues (permissions)
  3. improper handler chosen; make sure you configured the webserver for .php files (CGI?)
  4. combination of the above.

Try to create a phpinfo page and upload it to the http root, then change its owner to the webserver user. See if it gets executed.

methode
Abt pt 2. Can you please explain how to configure suPHP? My server is godaddy Server. <br> Abt pt 3. Webserver is configured for .php5 it was not CGI.
ASD
I have uploaded phpinfo.php and it was executing sucessfully.
ASD
Did you change the owner of phpinfo.php to the webserver user?Can you check the permissions and owner of the files which can't be executed, then compare those with the owner and permissions of the phpinfo.php file, please?
methode
@methode: if your webscripts are parsing your own log files then you've got serious problems which will not be solved by rotating the logs.
symcbean
@symcbean: No, i was referring to the webserver, though 'parsing' wasn't the best choice of wording. It happens (happened?) on improperly configured cPanel boxes that the log files (error_log, access_log) get huge and after a certain file-size this 'premature error' stuff starts showing up in the local `error_log`s. I don't know if the OP's server is a cPanel box, just thought it's worth mentioning. I don't remember if it has anything to do with cPanel, or if it does, whether the cPanel team has fixed this bug.
methode
Guess its problem with time limit and execution limit. No help from Godaddy server.
ASD