On Sun, 08 Jul 2001 21:11:19 -0400, you wrote:
>On Sun, 8 Jul 2001 13:37:12 +0100, you wrote:
Sorry about that, I was looking at the wrong line. This was intended for
Michael, not David.
Alan
>David, change your action application line to "/php/php.exe"
>
>AFAIK, since you aliased /php/ as "c:/php/", your action line gets
>translated wrong by apache. In other words, I;m pretty sure that your
>"c:/php/php.exe" gets transformed internally to "c:c:/php/php.exe".
>
>Alan
>
>>I am trying in vain to get php running.
>>
>>I have win98 and apache1.3.6 server running.
>>
>>I unzipped the php-4.0.6-Win32 into c:\php
>>
>>I then downloaded php406-installer and I ran that, did a standard install.
>>
>>I was told that the installer hadn't edited my httpd.conf file for apache
>>and i would have to do this with accordance with the php\install.txt file.
>>Which has the following instructions:-
>>If you unzipped the PHP package to C:\PHP\ as desribed
>> above, you need to insert these lines to your Apache conf
>> file to set up the CGI binary:
>>
>> ScriptAlias /php/ "c:/php/"
>> AddType application/x-httpd-php .php
>> Action application/x-httpd-php "/php/php.exe"
>>
>>So this I did, so my httpd.conf file within apache looks like this:-
>># For example, the PHP3 module (not part of the Apache distribution)
>># will typically use:
>>#
>>#AddType application/x-httpd-php3 .phtml
>>#AddType application/x-httpd-php3-source .phps
>>ScriptAlias /php/ "c:/php/"
>> AddType application/x-httpd-php .php
>> Action application/x-httpd-php "c:/php/php.exe"
>>
>>But I shutdown and restart apache and try to run load a .html file in my
>>browser
>><html>
>><head>
>><title>Untitled Document</title>
>><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>></head>
>>
>><body bgcolor="#FFFFFF" text="#000000">
>><?php echo "Hello World<p>"; ?>
>></body>
>></html>
>>
>>But nothing happens.
>>
>>I have tried to be as verbose as possible in the hope that someone can help
>>me out here.
>>
>>Thankyou.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]