Re: [PHP4BETA] php3/php4 problem with apache
| From: | Asghar Nafarieh | Date: | Mon, 17 Apr 2000 20:44:59 +0000 |
| Subject: | Re: [PHP4BETA] php3/php4 problem with apache | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13645@lists.php.net to get a copy of this message | ||
Andi,
Here what I have in httpd.conf.
LoadModule php4_module modules/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php .php3 .inc .phtml
AddType application/x-httpd-php-source .phps
There is no error in error_log. I can run .php but not .php3 files.
What's wrong?
Thanks,
-Asghar
>
> Hi Asghar!
> On Mon, 17 Apr 2000, Asghar Nafarieh wrote:
>
> > Andi,
> >
> > I am using linux version 2.2.12.
> > I get the message "httpd could not be started" but the syntax is ok when I
run
> > "apachectl configtest" command.
> >
> > My main goal is to be able to run all my .php3 file with version4. I tried
> > to use the following
> >
> > AddType application/x-httpd-php .php .php3
> > AddType application/x-httpd-php-source .php4s
> >
> > but when I access any .php3 file, my browser displays the "save file"
prompts
> > and does not recognize the "application/x-httpd-php3" mime. Is there any
> hmm, what's this digit over here ...........^
> also check error_log, to see any complains from apache.
> Do you have a ``LoadModule libphp4.so / AddModule mod_php.c'' pair in
httpd.conf?
>
> -- teodor