permission 777 captcha
Hi
We get 500 internal server error when permission 777 given to a file
but captcha needs 777 how can i allow it without getting 500 error?
-
What do you mean by "captcha needs 777"? 0 -
a php page running teh capthcha code will run only with 777 permission it wont work with less permission but the server gives 500 error on such pages 0 -
For my opinion you should NOT run any code that needs 777 permissions. 0 -
Howdy, What php handler are you using? It's likely suphp, and if that case try 644 then 755. If the php processes are running as user's not apache or nobody that should be more than enough. Anything that *needs* 777 that isn't /tmp is going to lead to tears. Thanks! 0 -
To clarify - suphp will specifically refuse to execute 777 files per [url=http://docs.cpanel.net/twiki/bin/view/EasyApache/Php/RequestHandling#suPHP%20Considerations]EasyApache: PHP Request Handling As quietfinn and Eric have suggested, if your script won't work with lesser permissions under suphp and the docs specifically demand it without any caveat, then it's highly possible it's either a very old script, or a crap script or both and you'd be better off with another solution. 0
Please sign in to leave a comment.
Comments
5 comments