Re: PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

From: Date: Tue, 06 Nov 2007 15:16:34 +0000
Subject: Re: PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264110@lists.php.net to get a copy of this message
On 11/2/07 11:12 AM, "Daniel Brown" <parasane@gmail.com> wrote: > > Rahul, > > I believe all of the modern MacOS variants still use the > *nix-style (due to being based on BSD) rc.d startups, right? If so: > > sudo echo "sudo -u www mount_smbfs -f 0777 -d 0777 > //usr:pwd@ip/share node" > /etc/rc.d/init.d/winsharemount > sudo chmod 755 /etc/rc.d/init.d/windsharemount > sudo ln -s /etc/rc.d/init.d/winsharemount /etc/rc.d/rc3.d/S74winsharemount > sudo ln -s /etc/rc.d/init.d/winsharemount /etc/rc.d/rc5.d/S74winsharemount > > That should help automate it on startup in single-user and > multi-user mode (rc3 and rc5, respectively). Daniel, I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been manually mounting after each boot, so still looking for an automated mounting solution. Thought I'd let you know. Thanks!

« previous php.general (#264110) next »