R: [PHP-INST] RE: problem reading php in browser
| From: | Roberto Sartor | Date: | Mon, 25 Sep 2000 06:57:38 +0000 |
| Subject: | R: [PHP-INST] RE: problem reading php in browser | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-22@lists.php.net to get a copy of this message | ||
The problem is this: you installed rpm for PHP 4, and configured httpd.conf
for PHP 3.
Instead of yours, include this lines:
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
they should work for PHP 4.
Ciao
Roberto
> -----Messaggio originale-----
> Da: Av Aumick [mailto:avi@m-issues.org]
> Inviato: venerdì 22 settembre 2000 5.39
> A: php-install@lists.php.net
> Oggetto: [PHP-INST] RE: problem reading php in browser
>
>
> I have included the lines
> AddType application/x-httpd-php3 .php .php3
> AddType application/x-httpd-php3-source .phps
> in the http.conf configuration files. However any file ending in ..php,
> .php3, php4, or php4 still gets prompted by the web browser for
> downloading. The browser still assumes the page as
> application/x-httpd-php3 rather than processing the page as
> an php file as
> it does for .phtml.
>
> one more tidbit. I used the php rpm that was at the following site.
>
http://fsr.ku.dk/people/troels/rpms/php/install-ready/
Is it possible that there is something wrong with this rpm?
Thanks,
Avram