You are Here:
FAQ
Scripting and Programming Languages
PHP
Article #5
|
Error 500 while executing PHP scripts.The following may be the reasons: Incorrect permissions: Make sure the script has execute permissions. Owner: Read, Write, Execute Group: - Other: Read, Execute (705) You can set the permissions by making an FTP connection. Right click the file and select Permissions. Here you can set the permissions. OR If you have SSH access, then follow FAQ: How to change the file permissions Syntax Errors: Execute your script on command prompt to check for syntax errors. Make a connection to your webspace via ssh and execute the script with the command myShell:~> php4 hello.php Note: SSH access is not available in all packages. |
© 2008 1&1 Internet Inc - About 1&1 Internet