I am trying to run a php script and I am getting a 500 Internal Server Error. What should I do?
Please don't install script. Just help me get it to work.
The 500 server error is in most of the cases due to an insecure permission (777), not necessarily of the same file, it might also be an included php file or directory. The 777 permissions should be changed to 755.
Anyway, I have some automatic function that fixes the insecure permissions. It doesn't always work, but apparantly in this case it did.
If you have this error, you can see why in your Cpanel at "Error log".
But, that only identifies the problem, and it doesn't give a solution.
Try renaming the file with a .php extension as opposed to .php3, it would be my guess that this will solve your problems assuming the script is written correctly.
That still gave a 500 internal server error
I just got it NVM.
How come that the permission on two directory's which I created can't be saved. They are set to 644, and I can't even delete those files. I've tryed to change permission's with filezzilla and in my direct admin.
psihich, please create a new topic about this.