RE: [PHP-WIN] PHP on virtual directories
| From: | Romeo, Domenic A | Date: | Mon, 12 Mar 2001 18:00:07 +0000 |
| Subject: | RE: [PHP-WIN] PHP on virtual directories | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5975@lists.php.net to get a copy of this message | ||
PHP 4 doesn't seem to work correctly with UNC paths
(\\Servername\ShareName). To help debug, configure IIS to "check if file
exists" for .php (or whatever extension you use). I have gotten around this
by mapping the share to a drive letter. PHP 4 works correctly with virtual
directories that are accessed via drive letter. Permanently setting drive
letters for shares is very difficult on NT servers, but can be done.
Domenic
-----Original Message-----
From: Ermanno Iannacci [mailto:ermannov@libero.it]
Sent: Monday, March 12, 2001 12:32 PM
To: Lista PHP Windows
Subject: [PHP-WIN] PHP on virtual directories
I need PHP to run a script in a directory located on a computer different
from the web server where PHP is. I added the remote directory as a virtual
directory in IIS. I can only see this:
"CGI Error
the CGI application misbehaved by returning an incomplete set of HTTP
headers: the headers it sent are:"
(I don't remember exactly, maybe I lost some word)
Nothing follows this phrase, that is, I don't see any header.
Can PHP execute scripts on shared dirs? Problems of permissions? What does
it mean "Virtual directory support enabled" in phpinfo()?
Instead, I can see static HTML pages.
Using PHP 4.0.4, IIS 4.0, WinNT 4
--
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