Shawn said: > My configuration files are attached. (watch for the unix style line feeds > if you are viewing them on a Windows box...) > > Here's the output from the command "apache2 -l" > > Compiled in modules: > core.c > prefork.c > http_core.c > mod_so.c
PHP won't show up here. In Apache 2, you don't compile in support for PHP.... it's a DSO. In /etc/php4/php.ini, check to see if this line is set to On: expose_php = On If it's not, change it to On and restart apache2 Then telnet to the webserver on port 80, once connected type in 'HEAD / HTML/1.0' (no quotes) followed by a blank line. You should get something like: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. HEAD / HTML/1.0 HTTP/1.1 200 OK Date: Fri, 20 Jun 2003 04:44:53 GMT Server: Apache/2.0.46 (Gentoo/Linux) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.46 OpenSSL/0.9.6i PHP/4.3.2 X-Powered-By: PHP/4.3.2 Set-Cookie: newsflashcookie=NA%3D%3D Set-Cookie: sessioncookie=mqPknvpqe0dzHPLfoL0uCg1056084294 Set-Cookie: detection=detected Connection: close Content-Type: text/html; charset=ISO-8859-1 Connection closed by foreign host. The important part is seeing PHP/4.3.2 listed there, which it should be if you set 'expose_php = On' in php.ini and 'ServerTokens Full' in commonapache2.conf (You already did from the file you posted). You should also see something similar in /var/log/apache2/error_log right after you (re)start apache2. Could you post your /etc/apache2/conf/modules.d/70_mod_php.conf file? Also do you have libphp4.so in /etc/apache2/extramodules/ ? Cheers, -- Trevor Lauder Web: http://www.thelauders.net E-Mail: [EMAIL PROTECTED] Resume: http://www.thelauders.net/resume/ Gentoo Linux Powered "Any intelligent fool can make things bigger and more complex... It takes a touch of genius -- and a lot of courage to move in the opposite direction." -- Albert Einstein
