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

From: Date: Mon, 30 Apr 2001 14:59:31 +0000
Subject: RE: [PHP-WIN] PHP, network shares, and IIS5
Groups: php.windows 
Request: Send a blank email to php-windows+get-7156@lists.php.net to get a copy of this message
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

« previous php.windows (#7156) next »