Re: Re: RE: Cannot access file on Network Drive (Windows 2003)

From: Date: Thu, 24 May 2007 15:13:38 +0000
Subject: Re: Re: RE: Cannot access file on Network Drive (Windows 2003)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-255538@lists.php.net to get a copy of this message
On 5/24/07 11:04 AM, "Jared Farrish" <farrishj@gmail.com> wrote: > Well, I'll say you've dramatically upped the ante by having an Apache server > on a windows box attempt to mount and read a file on a MacOS machine. Yipes! > > So let me get this straight: > > * Apache is on Windows Server 2003. > > * PHP is running on Apache. > > * A folder containing scripts/data/both is on a MacOSX machine. > > * A user from frontierland knocks on PHP's front host.com:80 door and says, > "Please..." > > * PHP -> Apache: "Gimme gimme [resource P]" > > * Apache says, "Ok, let me get the data from location X." > > * Apache -> location X: "Pretty Please, gimme gimme." > > * location X -> Apache: "[barf]" > > * Apache -> PHP: "No luck." > > ======== Jared, I think you got a little confused with a previous post of mine. Mac OS X is Not in this scenario at all!!! So completely Eradicate it from this current Scenario. This is a complete PHP/Apache on Windows 2003 Scenario. That's it! So what it is supposed to be is: * PHP5 / Apache2.2 on Windows Server 2003 * Folder on another Windows Machine on the Network contains some files (mapped as network drive "X:\") * PHP trying to read file on X:\ from Apache on Windows 2003. There's really nothing else to it. > Can you, from the Windows 2003 machine, manually access the folder/file that > you're asking PHP (through Apache) to access? Unless the service that Apache > is running under has permissions to communicate with the share resource > (location X), this will always fail. Yes! Without any problems! I can easily navigate to the X: drive on that Windows Machine, and do anything I want with files there. I have all permissions. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: sleepwalker@rahulsjohari.com ³I morti non sono piu soli ... The dead are no longer lonely²

« previous php.general (#255538) next »