Enetica - Australian web hosting and accredited domain name registrar
 
auda accredited domain name registrar nz accredited registrar - new zealand domain names Enetica - Domain Name Registration Australia from Australia's first auDA accredited registrar
Self-Help Knowledgebase


Knowledgebase Home Knowledgebase Home


Search the Knowledgebase Browse by Category
When I try to run PHP software I receive a 500 internal server error. Why?
User Opinions
100% 0% (2 votes)

How would you rate this answer?
Helpful
Not helpful
This is because cPanel runs PHP through phpsuexec, not as a module.

When this is the case, if your . PHP file or the directory it is in, has permissions greater than 755 then the webserver will simply refuse to execute the PHP file and give you an "Internal server error".

In the documentation of some of the scripts provided with cPanel, it will tell you to set your script to have permissions 666 or 777. They do this with the intention of giving the file world writable permissions. We don't think this is a good idea.

In fact, because it won't work at all, your only option is to reduce the permissions on the file. We suggest 755. This may break the software you are trying to use, but in most cases you can find documentation on their website to run the software in an alternative fashion.

Considering our shared hosting environment, we will not be changing our policy on PHP.
Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
1300 720 043 sales@enetica.com.au  Contact Us Help Policy Feedback  
   ©2002-07 Enetica Pty Ltd  ABN 72 924 334 435                                   Link Partners #1                       Link Partners #2     &np;