RE: [PHP] mkdir permission errors

From: Date: Mon, 14 Jul 2008 20:37:07 +0000
Subject: RE: [PHP] mkdir permission errors
Groups: php.general 
Request: Send a blank email to php-general+get-276793@lists.php.net to get a copy of this message
---- "Wei wrote: > Hi, Rob: > > I forgot to mention that I have been using yum install. > I have reinstalled the entire thing, put back all the packages, and then I went to /var and > did a chmod -R 777 var, and then did a > > [root@localhost var]# chown -R apache:apache . > > Interestingly, I do not see anything different, and I still get this error that says my > permission is denied. Here is my > > Obviously, my last one has already changed the owner to apache already.Nevertheless, I am still > denied even when I am now logged in as root. Is this anything with firewalls? > > Thanks for your help. Alice, $whoami=system('whoami'); echo $whoami; $pwd=system('pwd'); echo $pwd; That should tell you what ID you are and the path you are in. Make sure that the path you are in has the correct permissions. Wolf

« previous php.general (#276793) next »