RE: [PHP-WIN] PHP, network shares, and IIS5
| From: | Paul Smith | Date: | Sun, 29 Apr 2001 16:48:22 +0000 |
| Subject: | RE: [PHP-WIN] PHP, network shares, and IIS5 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7126@lists.php.net to get a copy of this message | ||
Not yet, but I want to stay with the \\computername\share
<file://\\computername\share> format if I can becuase then I can run the
same commands on any server without worrying about drive letters and drive.
Drive mappings are also made for the user, not the system which will cuase
me problems.
-----Original Message-----
From: OoCobra97@aol.com [mailto:OoCobra97@aol.com]
Sent: 29 April 2001 17:43
To: pjsmith@microtech.co.gg; php-windows@lists.php.net
Subject: Re: [PHP-WIN] PHP, network shares, and IIS5
Have you tried mapping the drive, then accessing them like that?
Hi,
I've been using PHP4 and IIS5 on Win2k and IIS5 for ages now. I now need to
host some of my files on a network share instead of on a local drive. All
that should need changing is the location on the files on IIS5, which is
\\computername\share\folder. All the non-php sites still work OK after I do
this, but the php sites with the PHP4 isapi module just report
Warning: Failed opening '\\sharename\web sites\mysite\default.php' for
inclusion (include_path='') in Unknown on line 0
The files are still there and if I change back to the local drive the php
module works fine. I's pretty sure it has nothing to do with security as
the share just points to the same files used on the local disk and all the
permissions are the same. Anyone have any idea if PHP isapi can handle
files on a network share?
Thanks.