1
Hello there.
Im trying to install XOOPS and im running into a problem where the permisions for certain folders are not set to 777. However the mod on the filesystem is indeed 777. I decided to write a simple script to test whether php was doing things correctly. This is the script
if (is_writable("./uploads")) {
echo "is writable
";
} else {
echo "NOT writable
";
}
if (is_readable("./uploads"))
echo "is readable
";
else
echo "NOT readable
";
echo substr(sprintf('%o', fileperms('./uploads')),-4);
The output of the script is
NOT writable
is readable
0777
as you can see php thinks the folder is not writable
however fileperms is returning a 0777. What gives? Am I missing some configuration on php.ini or in my apache httpd.conf
Im running apache 2.0 , php-4.3.9.
Please help.. this is one of the last things Ihave to do to setup my site.
Cheers!!
Rudy