RE: [PHP4BETA] PHP4b3 & Apache 1.3.11 on Linux - getting download of .php!
| From: | rasmus@php.net | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | RE: [PHP4BETA] PHP4b3 & Apache 1.3.11 on Linux - getting download of .php! | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9895@lists.php.net to get a copy of this message | ||
> the mod_php4.c was compiled INTO httpd:
> httpd -l
> Compiled-in modules:
> <other modules snipped>
> mod_php4.c
>
> > What about making a file phpinfo.php
> >
> > <?php phpinfo(); ?>
> >
> > loading it, through the webserver (save-as, if necessary).
> > Obviously if the
> > file contains the above code, it isn't parsing it. If it's HTML,
> > then it is,
> > but something is happening to the doctype. Read the HTML there, it might
> > help.
>
> Tried the phpinfo.php. It wanted to save. I saved it and
> the text remained "<?php phpinfo(); ?>".
>
> Sorry, not following you on the "read the html there". What
> HTML? The file saved and it's the same as it is on the
> server.
>
> Is there some other way to track the fact that httpd is
> SEEING .php the way that it should? httpd -l looks good.
> Forcing a syntax error in the httpd.conf proves that its
> using that when it starts up. Everything is pointing to
> it working, yet it doesn't. I'm stumped here.
I bet the httpd you are doing the -l on is not actually the one you are
running. Your startup scripts are probably starting a different httpd
process.
-Rasmus