installing php on apache

From: Date: Sun, 08 Jul 2001 12:37:12 +0000
Subject: installing php on apache
Groups: php.general php.install php.windows 
Request: Send a blank email to php-general+get-56757@lists.php.net to get a copy of this message
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.

« previous php.general (#56757) next »