chmod and php is not liking 0777
I'm installing a php program and it asks me to chmod directories to 777, well when i do that i get this in my error log of cpaneltimestamp error: directory is writable by others filename
and then the file im trying to reach i get this
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, www and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
If i change the dirctory to 755 the file will work again, but then the program won't function like its suppose to.
Is there a command I can run to correct this issue? or something in whm i need to adjust?
Thanks