Error message in PHP

Giblert

New Member
Messages
1
Reaction score
0
Points
0
Using an upload script in PHP

I get this error, is it my codes fault or my server not been funnly fixed yet?


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@katsu.exofire.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
It's unusual for a PHP script to cause an 500 error (Internal Server).
Do you have a .htaccess file in that directory which could be causing problems?

Also what version of PHP do you have? You may need to upgrade to Version 2 (Intermediate).
 

AutoItKing

New Member
Messages
32
Reaction score
0
Points
0
Have you checked for a duplicate index or default file?
PHP usually only does this if the configuration is messed up. Or someone's been playing with the PHP executables a little too much.
 

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
This is wat it was said in the intermediate php version which you need to apply from the account panel
Intermediate PHP Configuration - This version of PHP is much more relaxed in regards to security. More features are enabled compared to the default version.
  • Mail(), eval() functions allowed
  • Memory limit and max upload filesize set moderately higher
  • URL fopen or include enabled
  • More relaxed restriction of 'unsafe' and 'bad' functions
  • PHP Version - 5.2.4
  • cURL, FTP, Socket, and MBString extensions enabled
  • /e modifier with preg_replace allowed
  • No system/execution-related functions enabled, eg: exec, passthru, system
  • Magic Quotes GPC enabled
  • Register Globals disabled
  • File uploads enabled
  • Suhosin Path + Extension installed

your file uploads is enabled in php intermediate version. so Check your version. if its beginner apply for the intermediate version in you account panel.
 
Last edited:
Top