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

Reply via email to