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

2007-11-06 Thread Rahul S. Johari
On 11/6/07 4:07 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > We are the geniuses that are the core PHP community. Hear us roar! :D You know the funniest thing? As my discussion progressed, and the contributions back & forth, the problem became evidently little to do with PHP and a whole

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

2007-11-06 Thread Daniel Brown
On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED]> wrote: > I guess I can officially consider this case closed with all problems solved! > > Thanks All! We are the geniuses that are the core PHP community. Hear us roar! -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-

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

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:57 PM, "Nathan Nobbe" <[EMAIL PROTECTED]> wrote: > perhaps if you google around on something like mac os x /etc/fstab > something useful will turn up. im sure there is an alternative mechanism > to mount things at boot time on that system. > > -nathan For whatever reason, when I

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

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:57 PM, "Nathan Nobbe" <[EMAIL PROTECTED]> wrote: > On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED]> wrote: >> >> On 11/6/07 12:03 PM, "Nathan Nobbe" <[EMAIL PROTECTED]> wrote: >> >>> On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED] >>> > wrote: I

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

2007-11-06 Thread Nathan Nobbe
On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED]> wrote: > > > On 11/6/07 12:03 PM, "Nathan Nobbe" <[EMAIL PROTECTED]> wrote: > > > On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED]> wrote: > >> > >> I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been > >> manually mounting after each b

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

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:03 PM, "Nathan Nobbe" <[EMAIL PROTECTED]> wrote: > On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED]> wrote: >> >> 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. > > lo

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

2007-11-06 Thread Nathan Nobbe
On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED]> wrote: > > 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. look for /etc/fstab -nathan

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

2007-11-06 Thread Rahul S. Johari
On 11/2/07 11:12 AM, "Daniel Brown" <[EMAIL PROTECTED]> 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:[EMAIL PROTECT

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

2007-11-02 Thread Rahul Sitaram Johari
On 11/2/07 11:12 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > On 11/2/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: >> >> That sounds like a good place to look. >> >> I actually did figure out a way to make this work. It appears that Apache >> Web Server did not have enough permissions

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

2007-11-02 Thread Daniel Brown
On 11/2/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: > > On 11/2/07 8:26 AM, "Jason Pruim" <[EMAIL PROTECTED]> wrote: > > > > > On Nov 1, 2007, at 5:54 PM, Jim Lucas wrote: > >> Sounds like a clear case of Apache being chroot'ed. > >> > >> This is based off the BSD style setup I believe. Wh

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

2007-11-02 Thread Rahul Sitaram Johari
On 11/2/07 8:26 AM, "Jason Pruim" <[EMAIL PROTECTED]> wrote: > > On Nov 1, 2007, at 5:54 PM, Jim Lucas wrote: >> Sounds like a clear case of Apache being chroot'ed. >> >> This is based off the BSD style setup I believe. Which I believe >> Mac uses, So, I would check your startup line for Apach

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

2007-11-02 Thread Daniel Brown
On 11/2/07, Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Nov 2, 2007, at 9:57 AM, Daniel Brown wrote: > > > On 11/2/07, Jason Pruim <[EMAIL PROTECTED]> wrote: > > > >> I have been a Mac user for my entire computing life > > > > Well, then way to chime in 14 hours late there, Pruim! ;-P > > Wh

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

2007-11-02 Thread Jason Pruim
On Nov 2, 2007, at 10:18 AM, Daniel Brown wrote: On 11/2/07, Jason Pruim <[EMAIL PROTECTED]> wrote: On Nov 2, 2007, at 9:57 AM, Daniel Brown wrote: On 11/2/07, Jason Pruim <[EMAIL PROTECTED]> wrote: I have been a Mac user for my entire computing life Well, then way to chime in 14 ho

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

2007-11-02 Thread Jason Pruim
On Nov 2, 2007, at 9:57 AM, Daniel Brown wrote: On 11/2/07, Jason Pruim <[EMAIL PROTECTED]> wrote: I have been a Mac user for my entire computing life Well, then way to chime in 14 hours late there, Pruim! ;-P What can I say? :) Better late then never :P -- Jason Pruim Raoset Inc.

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

2007-11-02 Thread Daniel Brown
On 11/2/07, Jason Pruim <[EMAIL PROTECTED]> wrote: > I have been a Mac user for my entire computing life Well, then way to chime in 14 hours late there, Pruim! ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 Give a man a fish, he'll eat for a day. Then y

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

2007-11-02 Thread Jason Pruim
On Nov 1, 2007, at 5:54 PM, Jim Lucas wrote: Rahul Sitaram Johari wrote: Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem before in any Mac version - it just started with Le

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

2007-11-01 Thread Jim Lucas
Rahul Sitaram Johari wrote: Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem before in any Mac version - it just started with Leopard. I don't know what has changed where, in http

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

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 12:43 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: > >> Is there a Terminal way of figuring out the UID/GID of something like admin, >> apache etcetera? >> >> PS: I know it's going OT! >> >> >> > > Yes, you'll fin

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

2007-11-01 Thread Daniel Brown
On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: > Is there a Terminal way of figuring out the UID/GID of something like admin, > apache etcetera? > > PS: I know it's going OT! > > > Yes, you'll find those UIDs in /etc/passwd. For example: apache:x:48:48:Apache:/var/www:/s

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

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 12:17 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: >> Well FollowSymLinks was present in my httpd.conf, and it's definitely not >> the problem. I think the problem is the fact that on in Panther, I was able >> to specify Ap

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

2007-11-01 Thread Daniel Brown
On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: > > On 11/1/07 10:41 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > > > On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: > >>> 1.) Did you restart Apache after making any changes to php.ini or > >>> httpd.conf? > >>> 2.

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

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 10:41 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: >>> 1.) Did you restart Apache after making any changes to php.ini or >>> httpd.conf? >>> 2.) The path is cAsE-sEnSiTiVe. Did you make sure that it's >>> EXACTLY t

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

2007-11-01 Thread Daniel Brown
On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: > > 1.) Did you restart Apache after making any changes to php.ini or > > httpd.conf? > > 2.) The path is cAsE-sEnSiTiVe. Did you make sure that it's > > EXACTLY the same? > > 3.) Is any part of that symlinked, and if so, does

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

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 10:22 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > On 11/1/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote: >>> Ave, >>> >>> Somehow my PHP won't access, won't even acknowledge the existence of a file >>> that is outsi

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

2007-11-01 Thread Rahul Sitaram Johari
On 11/1/07 9:46 AM, "Robert Cummings" <[EMAIL PROTECTED]> wrote: > On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote: >> Ave, >> >> Somehow my PHP won't access, won't even acknowledge the existence of a file >> that is outside the /Library/WebServer/Documents folder. This was never a

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

2007-11-01 Thread Daniel Brown
On 11/1/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote: > > Ave, > > > > Somehow my PHP won't access, won't even acknowledge the existence of a file > > that is outside the /Library/WebServer/Documents folder. This was never a a > > pr

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

2007-11-01 Thread Robert Cummings
On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote: > Ave, > > Somehow my PHP won't access, won't even acknowledge the existence of a file > that is outside the /Library/WebServer/Documents folder. This was never a a > problem before in any Mac version - it just started with Leopard. >

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

2007-11-01 Thread Rahul Sitaram Johari
Ave, Somehow my PHP won't access, won't even acknowledge the existence of a file that is outside the /Library/WebServer/Documents folder. This was never a a problem before in any Mac version - it just started with Leopard. I don't know what has changed where, in httpd.conf or php.ini or somewher