|
|
#1 (permalink) |
|
Surpass Staff
Joined in May 2003
Lives in Orlando
23,926 posts
Gave thanks: 904
Thanked 768 times
|
777 – My install script says ...
777 – Do I need directories set to this? My install script says that I do.
No, you do not need to have directories or files set to 777, even if your installation documents tell you that you do. When a script asks you to do this, they just want you to give read and write access to that folder. Read and write access is different with phpsuexec and is not the same. Permissions of 755 will work in the same way – Scripts owned by your account user UID/GID will be able to write to your files, the same way that they can running under apache with 777 permissions. You cannot manipulate the php.ini settings with .htaccess when running PHP as cgi/phpsuexec.If you have php applications / scripts that have directories set to 777, (required to write to them under php/apache module), they would need to be changed. Also we would need to change ownerships of all files owned by user “nobody” to the user name UID/GID for your account. htaccess You cannot manipulate the php.ini settings with .htaccess when running PHP as cgi/phpsuexec. If you are using .htaccess with php_value entries within it, you would receive an internal server 500 error when attempting to access the scripts. This is because PHP is no longer running as an Apache module and Apache will not handle those directives any longer. All PHP values should be removed from your .htaccess files to avoid this issue. Placing a php.ini file in its place will solve this issue.
__________________
Have you ever want to draw a windmill, and after that animate it? No problem!
|
|
|
|