Apache and ubuntu

Mike Dugger manifold at golfront.org
Mon Jan 14 22:33:26 UTC 2008


Hello,

My system consists of ubuntu 7.10, Apache 2.2.4 and PHP 5.2.1

I have installed Apache, PHP and MySql for my education/entertainment in 
learning a bit about web design. The setup was working fine until I 
upgraded from 7.04 to 7.10. Now php functions within html will not run, 
while .php scripts run fine.

It appears that Apache, as implemented in ubuntu, is set up differently 
than the indicated by the book (Apache, MySQL and PHP Weekend Crash 
Course)  that I purchased to aid my education. In poking around I've noted 
a few differences. Significantly, in usr/apache2 I found two configuration 
files apache2.conf and the trusty httpd.conf. Can anyone tell me which is 
used, or why there are two confs and how do they differ?

Secondly, my book refers to the apachectrl script for starting and 
restarting apache. It appears that ubuntu doesn't include this script in 
its apache install. What other convenient means exist for restarting apache 
to check changes in the configuration?

Thanks in advance for any enlightenment.

- Mike





More information about the ubuntu-users mailing list