Re: Open file on a Mounted Share on Mac OS X
| From: | Rahul S. Johari | Date: | Tue, 12 Sep 2006 22:28:30 +0000 |
| Subject: | Re: Open file on a Mounted Share on Mac OS X | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241687@lists.php.net to get a copy of this message | ||
My doc_root is empty and I don't have a open_basedir specified in my php.ini
What should their values be set to for me to do what I'm trying to do?
Thanks!
On 9/12/06 6:19 PM, "Stephen Edberg" <sbedberg@ucdavis.edu> wrote:
> Is PHP configured to allow access to /Volumes directory? Check doc_root,
> open_basedir in your php.ini:
>
> http://us3.php.net/manual/en/ini.php
>
> steve
>
> On Tue, 12 Sep 2006, Rahul S. Johari wrote:
>
>>
>> I did exactly that... Used Terminal to find the correct path. Did "pwd" in
>> terminal window where my file is located. And this is what I got:
>> /Volumes/foresight
>>
>> Which is what I have used in php to specify the path. But it still says file
>> doesn't exist.
>>
>>
>> On 9/12/06 6:05 PM, "Ray Hauge" <ray.hauge@americanstudentloan.com> wrote:
>>
>>> Hmmm... That's odd.
>>>
>>> I would use your terminal program, then change directory to the location of
>>> the file, and do "pwd". That should give you your working directory. If
>>> you
>>> can get to it on OSX, and PHP is on OSX, then PHP should be able to see the
>>> file in the same path.
>>
>> Rahul S. Johari
>> Supervisor, Internet & Administration
>> Informed Marketing Services Inc.
>> 500 Federal Street, Suite 201
>> Troy NY 12180
>>
>> Tel: (518) 687-6700 x154
>> Fax: (518) 687-6799
>> Email: rahul@informed-sources.com
>> http://www.informed-sources.com
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> ...........................................................
> . Steve Edberg sbedberg@ucdavis.edu .
> . Computer Consultant University of California, Davis .
> . (530)754-9127 .
> ...........................................................
Rahul S. Johari
Supervisor, Internet & Administration
Informed Marketing Services Inc.
500 Federal Street, Suite 201
Troy NY 12180
Tel: (518) 687-6700 x154
Fax: (518) 687-6799
Email: rahul@informed-sources.com
http://www.informed-sources.com