Look in /var/log/httpd/error_log. That should tell you what went wrong, and yes, duplicate lines can do that. Secondly, you shouldn't edit those files directly. SuSE has put together a functioning package to set up apache, and if you edit those files manually, you're on your own. The SuSE way to set up apache as of 7.2 is to edit /etc/rc.config.d/apache.rc.config followed by running SuSEconfig. It can't handle everything perhaps, but that's the way I set up perl, php and tomcat and it works regards Anders On Monday 03 September 2001 06.27, Tom Kostiainen wrote:
I tried adding those lines. When I excuted 'rcapache start' it returned 'running' and when I then tried to connect to localhost I couldn't. 'rcapache status' reported 'unused'.
When I restored by conf files localhost worked again (and now 'rcapache start' returned 'done'?).
What does this mean? Can dublicate lines cause this?
- tk
----- Original Message ----- From: Martin Webster
To: Tom Kostiainen ; Cc: suse-linux Sent: Sunday, September 02, 2001 11:52 AM Subject: Re: [SLE] PHP dilema On Monday 03 September 2001 3:51 am, Tom Kostiainen wrote:
SuSE 7.2 Pro
Starting HTTPD gives [XXX PHP] and the default main page says the module
is
installed.
But if I try to view a *.php file the browser asks me if I'd like to download the file. And if a html file contains php, the php code is not
processed,
only the html is shown.
I got all the neccessary lines in the httpd.conf etc, which is why I
can't
udnerstand why apache doesn't process my PHP :/
Did you try changing the suse_*module.conf files?
/etc/httpd/suse_loadmodule.conf should contain:
LoadModule perl_module /usr/lib/apache/libperl.so LoadModule php4_module /usr/lib/apache/libphp4.so
And, suse_addmodule.conf:
AddModule mod_perl.c AddModule mod_php4.c
M
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com