1
rcortes
Problems with presmissions in instalation, PLEASE HELP
  • 2005/4/2 19:58

  • rcortes

  • Just popping in

  • Posts: 1

  • Since: 2005/4/2 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


le="color: #000000"><?php if (is_writable("./uploads")) { echo "is writable<br>"; } else { echo "NOT writable<br>"; } if (is_readable("./uploads")) echo "is readable<br>"; else echo "NOT readable<br>"; 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