Re: Apache/1.3.27 PHP/4.2.3 nonfunctional
| From: | Stephen | Date: | Tue, 08 Jul 2003 09:45:02 +0000 |
| Subject: | Re: Apache/1.3.27 PHP/4.2.3 nonfunctional | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11249@lists.php.net to get a copy of this message | ||
I believe you missed out
AddModule mod_php4.c
Try adding that (It should be in the section below the loadmodule command)
Stephen
----- Original Message -----
From: "Arkady Kukarkin" <parkan@nyc.rr.com>
To: <php-install@lists.php.net>
Sent: Tuesday, July 08, 2003 1:44 AM
Subject: [PHP-INST] Apache/1.3.27 PHP/4.2.3 nonfunctional
> Hi. I'm trying to run PHP/2.4.3 with Apache/1.3.27 on Debian GNU/Linux
> unstable. Apache and PHP are both packages installed by apt-get. I added
> the following lines to the appropriate sections of httpd.conf, as per
> instructions:
>
> LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> After restarting Apache, I read this in /var/log/apache/error.log:
>
> [Mon Jul 7 17:02:44 2003] [notice] Apache/1.3.27 (Unix) Debian
> GNU/Linux PHP/4.
> 2.3 configured -- resuming normal operations
>
> However, upon trying to acces a page containing:
>
> <?php phpinfo(); ?>
>
> My browser recieves the unparsed php file instead of the proper output.
> I realize that this is the most trivial of errors and is probably caused
> by my sheer stupidity, but I could find no solution via FAQs or google
> (unfortunately there isn't a concrete string to google for). I apologize
> for wasting your time.
>
> On a side note, I am most frustrated by this as the box ran
> apache/php4/php apps previously without any problems; apache was
> subsequently removed using apt-get. I made the exact
> same changes to the config files as I did previously (only adding the
> above lines for the most part, the server is on a private net and is
> used for testing purposes only, so no need for security).
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>