RE: [PHP-WIN] PHP, network shares, and IIS5

From: Date: Mon, 30 Apr 2001 15:05:52 +0000
Subject: RE: [PHP-WIN] PHP, network shares, and IIS5
Groups: php.windows 
Request: Send a blank email to php-windows+get-7158@lists.php.net to get a copy of this message
Paul, I haven't been able to get a UNC path to work at all with any version of PHP 4 cgi or isapi. The last time it worked for me was with php 3.0.15 For now (until 4.0.6 is released) you can either map a permanent drive letter for your share. This is difficult to do with Windows 2000 Server when no one is logged in. Or run a mixed environment of php3 and php4 and use php 3 for things that require UNC. Dom -----Original Message----- From: Dickerson, Monty [mailto:webjavapro@integrity.tamu.edu] Sent: Monday, April 30, 2001 11:00 AM To: php-windows@lists.php.net Cc: 'Paul Smith' Subject: RE: [PHP-WIN] PHP, network shares, and IIS5 Howdy Paul. You'd think that running scripts from a network share wouldn't be all that different from pulling static files, but, it is. Recall that the NT LocalSystem metauser under which IIS runs is not allowed to access network stuff for security reasons. Therefore for IIS to get to network stuff it has to use the username/pw you specify under the Directory Security tab in the IIS.MMC for the site (button called Anonymous Access I think). However, the ISAPI for PHP4 is not mature and performing advanced features like accessing network resources would require TIGHT integration with IIS. Consider switching to CGI instead of ISAPI. So basically, you can't do what you want to do, yet -- Not with PHP running under IIS. I may be wrong, so check the bug database at www.php.net to ensure that network shares access under the IIS sapi is indeed a limitation at this time. But, an old proverb of mine is: "If you run on the cutting edge, you're gonna bleed." Best of luck. montyd -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#7158) next »