Re: PHP tags are not recogonized.
| From: | Frederic Trudeau | Date: | Wed, 03 Jul 2002 03:35:32 +0000 |
| Subject: | Re: PHP tags are not recogonized. | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7591@lists.php.net to get a copy of this message | ||
your httpd.conf needs this ;
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
... and ...
DirectoryIndex index.html index.htm index.shtml index.php index.php3
index.php (and others...)
---------------------------------------------------
Frederic Trudeau
Coder, Colocation, Development
ftrudeau@cam.org
514.529.3000 ext. 246
----- Original Message -----
From: "kramer" <shankariyer3@attbi.com>
To: <php-install@lists.php.net>
Sent: Tuesday, July 02, 2002 5:24 PM
Subject: [PHP-INST] PHP tags are not recogonized.
> hello,
>
> I've Apache 1.3.20 up and working. My local-host displays this in
Netscape:
> Running version Apache-AdvancedExtranetServer/1.3.20 (Mandrake
> Linux/3mdk) PHP/4.2.1 mod_ssl/2.8.4 OpenSSL/0.9.6b
>
> I installed PHP 4.2.1 under Quick Install DSO option. It went fine - No
> complaints from make/make install either.
>
> As the INSTALL in the php directory suggested, I copied php.ini-dist to
> /usr/local/lib/php.ini - I didn't modify anthing in here.
>
> As suggessted I added the line AddType application/x-httpd-php .php in
> my httpd.conf
>
> Now, my browser doesn't display any PHP tags. It just displays
> <?phpinfo()?> which I've in test.php.
>
> What've I missed ?
>
> All help is very much appreciated. Thanks.
>
> - shanky.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>