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


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

Login

Who's Online

218 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits