|
In answer to the many many questions we get about how PHP has been compiled, let us try to explain why and how and what to do for everything to function. PHP5 Servers: Points to be aware of when running PHP compiled as CGI: #2 World writable folders (chmod 777) will not be required for file uploads through php #3 The php files will also have ownership of your userid #4 php files (scripts) do not need 755 permissions. 644 is fine. In fact 400 or 600 is ok too (especially good for sensitive information) #5 php_flag or php_value can NOT be used in .htaccess files (It will result in Internal Server Error) |