![]() |
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am getting 500 internal server error while trying to install a script. It works fine in other hosting accounts I have with other webhosts, so it should be something related with the server. Have you see this kind of errors before?
|
|
#2
|
|||
|
|||
|
I've seen this error before, when the file permissions were wrong. You have to use the php files with permission 644 and directories 755. Do you see any messages in the cpanel access logs ?
|
|
#3
|
|||
|
|||
|
hmm yes, my files are having 777 permission and I see some errors like "premature end of script headers"in the error log. This script has a lot of sub-directories with 777 permission, do I need to spend another 4-5 hours to change them to 755? thats hilarious!!!
|
|
#4
|
|||
|
|||
|
The following commands via SSH help to change all the file permission to 644 & sub directories to 755 recursively
#find ./ -type f -exec chmod 644 {} \; #find ./ -type d -exec chmod 755 {} \;
__________________
Scott Terman Senior Server Administrator Sambahosting Inc. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|