Re: php 4 isn't parsing php.3 files
| From: | Ignacio Vazquez-Abrams | Date: | Wed, 10 Jan 2001 23:02:42 +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-33822@lists.php.net to get a copy of this message | ||
On Wed, 10 Jan 2001 linux@actionbusinesssystems.com wrote:
> Howdy.
>
> 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.
>
> Thanks :)
>
>
> Joey Kelly
> System & Network Administrator
> ActionBusinessSystems.com
>
The problem's not in the php.ini file; it's in httpd.conf, srm.conf or
access.conf (not sure which one under SuSE). There should be a line that reads
"AddType application/x-httpd-php .php" or something to that effect. Add
" .php3" to the end of that line then restart Apache.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>