[SWLUG] Configuring Apache for php under SuSE 9.3 Pro

Justin Mitchell justin at discordia.org.uk
Wed May 10 15:44:47 UTC 2006


On Wed, 2006-05-10 at 11:58 +0100, Pete Prior wrote:
> Christ that's a stupid place to put logs.
> 
> I though all logs went in /var/log :|
> 
> 
> 
> Terry John wrote:
> > Like all of these things, take a look in the error logs, under RedHat
> > they're available under /etc/httpd/logs


the logs are really under /var/log/httpd
but a sym link exists as /etc/httpd/logs

thats because the base path for all of the apache config is /etc/httpd,
therefore the symlink allows nice easy relative paths to be used for the
log file config lines.

i dont know about the suse config, but the fedora/redhat/centos config
files for apache come with php configuration already in place, the
config rules are conditional on the php module (and thus package) being
installed. so turning on php support just involves installing it (yum
install php) and restarting apache. (service httpd restart)




More information about the Swlug mailing list