ID:               33606
 User updated by:  fordgt90concept at hotmail dot com
 Reported By:      fordgt90concept at hotmail dot com
 Status:           Open
 Bug Type:         IIS related
 Operating System: Windows XP Professional x64 Edit
 PHP Version:      5.0.4
 New Comment:

HTML = Works fine
PHP = "%1 is not a valid Win32 application." 500 Internal Server Error
(Extension configured)
PHP = 404 Error (Extension unconfigured)


Previous Comments:
------------------------------------------------------------------------

[2005-07-07 16:38:26] fordgt90concept at hotmail dot com

Description:
------------
I have followed your guide and a two other 3rd party guides to install
PHP 5 on Windows Server 2003 (Windows XP x64 Edition's big brethren)
and both of them ended with all PHP files I tried to load returning a
500 Internal Server Error.  Once I figured out how to turn off friendly
errors in Internet Explorer, I discovered it was producing the error "%1
is not a valid Win32 application."

Knowing that IIS itself was all fine and dandy (opens public HTML
documents fine), I looked to find what should really be in place of
that %1.  After about 30 minutes of trying to find an explaination
online, I dedcided to try to isolate this as indeed being a PHP
problem.  I went back into Web Sites Properties, Home Directory Tab,
and took the .php configuration out under Configuration (file path was
C:\PHP\php5isapi.dll).  When I do this, the PHP pages just hang when I
try to access them but it does manage to change the title of the page
to "Cannot find server."

Here is my test html page (only available if my computer is on
obviously) which should just say "HTML and network settings are
fine!":

http://67.138.134.169/index.html

Here is a test PHP file that should echo "It works!":

http://67.138.134.169/index.php


At the time of sending this, the PHP extension is configured in IIS.


Only changes in php.ini (copied from the recommended included in the
zip)

doc_root = "c:\Inetpub\wwwroot"
extension_dir = "C:\PHP\ext"
cgi.force_redirect = 0
All extension= lines are commented out.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33606&edit=1

Reply via email to