Hi there

My text box is running WinXP Pro in german.

Apache 2 is installed under c:\programme\apache group\

Apache works. Test page comes up.

PHP 4.2 is installed under c:\programme\php\

I tried to get PHP to run as ISAPI as well as CGI to no avail.

I modified httpd.conf to read like this:

--
AddType application/x-httpd-php .php
ScriptAlias /php/ "c:/Programme/Apache Group/Apache2/htdocs/php/"

# LoadModule php4_module c:/programme/php/experimental/apache2filter.dll
# LoadModule php4_module c:\programme\php\experimental\apache2filter.dll

Action application/x-httpd-php "c:/programme/php/sapi/php.exe"
--

I tried both versions of LoadModule instead of Action to get the ISAPI
stuff. No way. I tried to get the CGI stuff to work. Nothing.

With ISAPI, I cannot restart Apache, it fails immediately.

As CGI, I get at least errors saying:

--
C:/Programme/Apache Group/Apache2/htdocs/php/_test_.php is not executable;
ensure interpreted scripts have "#!" first line

Error 500

05/01/02 03:10:28
Apache/2.0.35 (Win32)
HTTP/1.1 500 Internal Server Error Date: Wed, 01 May 2002 01:10:28 GMT
Server: Apache/2.0.35 (Win32) Vary: accept-language Accept-Ranges: bytes
Content-Length: 967 Connection: close Content-Type: text/html;
charset=ISO-8859-1 Expires: Wed, 01 May 2002 01:10:28 GMT
--

What am I doing wrong?

My php script is simple:

--
<html>
<body>

<h2>This is PHP:</h2>

<?php phpinfo(); ?>

That's it

</body>
</html>
---

I am VERY happy for all hints because I have to teach the WAMP setup on
Thursday, 2-May.

Thank you



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to