php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5773 ISAPI filter won't function with long directory name
Submitted: 2000-07-25 00:58 UTC Modified: 2001-01-28 16:56 UTC
From: steve at teamITS dot com Assigned:
Status: Closed Package: IIS related
PHP Version: 4.0.1pl2, 4.02 OS: Windows NT 4.0 SP6a
Private report: No CVE-ID: None
 [2000-07-25 00:58 UTC] steve at teamITS dot com
If the PHP files are copied to a folder such as "D:\Program Files\PHP" the ISAPI filter will not load.  After copying the files to "D:\inetsrv\PHP" it loads.  During the error condition the server returns error 500 (internal server error) for PHP pages.  The CGI module loads both ways, with the long name in the configuration field as:

"D:\Program Files\PHP\php.exe" %s %s

(however using quotes doesn't work for ISAPI...in fact without them MMC won't let you exit the dialog, claiming an invalid path).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 03:15 UTC] steve at teamITS dot com
Update:  the ISAPI filter works under Windows 98 SE / PWS 4.0 in a long filename directory path.
 [2000-09-04 20:15 UTC] sniper@php.net
Does this problem still exist with php4.0.2 ?

--Jani
 [2000-09-08 14:41 UTC] steve at teamITS dot com
Yes, the same symptoms occur under Windows NT 4.0 / IIS 4.0.  The CGI module still loads.
 [2000-12-30 13:18 UTC] jmoore@php.net
Cant reproduce this on PHP ISAPI dll (PHP 4.0.4RC6), IIS 5, win2k. Think this is an IIS 4 problem which has been fixed in IIS 5. (It converts space to %20), this might be related to http://support.microsoft.com/support/kb/articles/Q164/1/44.asp?LN=EN-US&SD=gn&FR=0&qry=directory%20names&rnk=10&src=DHCS_MSPSS_gn_SRCH&SPR=IIS

could you also try with long dirs with out spaces in, short dirnames with spaces and see if it has anything to do with spaces.

James
 [2001-01-28 16:56 UTC] jmoore@php.net
No user feedback, cant reproduce, Workaround supplied. Closing

James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 04:01:29 2024 UTC