UltraWebsiteHosting.comUltraWebsiteHosting.com
 
  25 Jul 2008 
Support Center Home

 Error 500 - Internal Server Error - PHP
Solution This can be due to several factors. The first thing to check is that the permissions on the file and all relative files to it are set to 755 which you can set in your FTP client or in SSH via chmod.

When multiple files are selected for a permission change in some ftp programs, the ftp program will not set all files to that change if just one of the scripts is already set to 755. Verify each file is set to 755 and set each individually if necessary.

The next thing is to make sure all the path configurations within the file are correct.

Also often, an FTP client will upload a file in binary instead of ascii when it is set to auto. Force the program to upload the file in ascii then try again. Or binary if you are uploading PHP Zend or Ioncube compiled files for example.

Often you can find a forum or faq on the scripts website assisting you with common errors like this one.

Another common cause is a bad .htaccess file. A command within it may not work. We run PHP on our servers in CGI mode for security so you may need to run a command differently or via your own php.ini file in its directory.

A command within a PHP file that does not work with PHP in CGI mode may also cause this error and you may need to simply change a line to be more clean and secure for it.


Article Details
Article ID: 131
Created On: 02 Aug 2004 10:14 PM

 This answer was helpful  This answer was not helpful


 Back
 Client Login  
Billing Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | News | Downloads
Language:




 


All pages Copyright © 2002-2008 by Flux Services, Inc. All rights reserved.
All trademarks used are properties of their respective owners.
Refund Policy  Privacy Statement  Service Agreement