Re: php 4 isn't parsing php.3 files
| From: | Alexander Wagner | Date: | Wed, 10 Jan 2001 23:03:57 +0000 |
| Subject: | Re: php 4 isn't parsing php.3 files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33823@lists.php.net to get a copy of this message | ||
linux@actionbusinesssystems.com wrote:
> I have a SuSE 7.0 Linux install with apache and mod_php4. I can
> do .php files all day long, but I have a shopping cart thingie that
> is written for php3, and none of the files will parse. I have tested
> my machine with a phpinfo() php3 file, and no go on that either.
>
> I figure that something is misconfigured, but where might I look? I
> went through the php.ini file, and found nothing of note.
Look in /etc/httpd/httpd.conf (the usual place on a SuSE-Server).
Search for a line like
AddType application/x-httpd-php .php
Add .php3 and it should work.
regards
Wagner
--
Sanity is calming, but madness is more interesting.