Re: Problems installing/configuring php3
| From: | Julie Meloni | Date: | Mon, 02 Oct 2000 13:05:37 +0000 |
| Subject: | Re: Problems installing/configuring php3 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18272@lists.php.net to get a copy of this message | ||
marcel.tricarico wrote:
Hello all together, I just installed the apache webserver (1.3.12) for windows and php3. The apache webserver runs but php doesn't. If I start a php script either in IE5 or Netscape 4.7 the result doesn't look like it should. That's the script I used to test php. The file is called "test.php"Your httpd.conf is screwed up. If you're using PHP3, NOT PHP4, take these lines out:
AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml Action application/x-httpd-php "c:/php3/php.exe"They don't belong. application/x-httpd-php is for php4. So, that leaves you with:
AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3 .phtml Action application/x-httpd-php3 "c:/php3/php.exe"Which shows that you have nothing valid associated with the .php extension, so add this: AddType application/x-httpd-php3 .php You can combine them on one line if you want. Save file, restart apache. +------------------------------------------------+
| Julie Meloni (jcm@i2ii.com) || Tech. Director, i2i Interactive (www.i2ii.com) |
| | | "PHP Essentials" & "PHP Fast & Easy" | | http://www.thickbook.com/ |+------------------------------------------------+