Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: andres on February 22, 2011, 08:54:37 PM
-
Hello
I installed a Web site in a ebay and I need to upload files to the site using php and I'm typing error, even though I've given 777 permissions to the directory where the files are uploaded as I have to do to solve this problem.
-
Check the log: httpd/error_log
A little more details would maybe also help :)
Best Regards,
Jeppe
-
When you check your logs you will most likely notice you are running into the PHPBaseDir restriction, more information and solution on this can be found at: http://wiki.contribs.org/PHP#Open_basedir_restriction
Please remember to never set your files to 777, that is a security risk, most of the times 644 would do, perhsaps sometimes you need 755, but that should be enough.
You should revert the 777 setting ASAP.