Re: apache and php
Do have something like this in your httpd.conf:
# PHP 3.x:
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
AddType application/x-httpd-php3 .phtml
# PHP 4.x:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
On Tuesday 19 November 2002 14:17, Chris Lale wrote:
> Php is not working in Apache. I am trying to install phpgroupware in
> Woody. It did not work in one go so I am doing it in stages. Apache is
> up and running (hostname 'athlon' or '127.0.0.1').
> I installed php3.deb and put a test file ('test.php') in /var/www/. When
> I point the browser at http://athlon/test.php it tries to save the file
> rather than run it.
> I have uncommented the line (suggested by the installation script)
> LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
> in /etc/apache/httpd.conf, stopped and started apache. No improvement.
> I did get an alert during installation:
> [alert] apache: Could not determine the server's fully qualified domain
> name, using 127.0.0.1 for ServerName.
> Can anyone help?