apache or apache2?

Michael P. Soulier msoulier at digitaltorque.ca
Wed Jan 18 18:22:54 UTC 2006

I just installed Breezy on a box where I want to run cacti to monitor
several snmp-capable boxes. After an apt-get install cacti, I have
both apache and apache2 package installed. What's up with that??

msoulier at espresso:~$ dpkg -l | grep apache
ii  apache                                 1.3.33-8ubuntu1            
       versatile, high-performance HTTP server
ii  apache-common                          1.3.33-8ubuntu1            
       support files for all Apache webservers
ii  apache2-common                         2.0.54-5ubuntu4            
       next generation, scalable, extendable web se
ii  apache2-mpm-prefork                    2.0.54-5ubuntu4            
       traditional model for Apache2
ii  apache2-utils                          2.0.54-5ubuntu4            
       utility programs for webservers
ii  libapache2-mod-php5                    5.0.5-2ubuntu1.1           
       server-side, HTML-embedded scripting languag

And a mix of php support!

msoulier at espresso:~$ dpkg -l | grep php
ii  libapache2-mod-php5                    5.0.5-2ubuntu1.1           
       server-side, HTML-embedded scripting languag
ii  libphp-adodb                           4.52-1ubuntu1              
       The 'adodb' database abstraction layer for p
ii  php5                                   5.0.5-2ubuntu1.1           
       server-side, HTML-embedded scripting languag
ii  php5-cli                               5.0.5-2ubuntu1.1           
       command-line interpreter for the php5 script
ii  php5-common                            5.0.5-2ubuntu1.1           
       Common files for packages built from the php
ii  php5-mysql                             5.0.5-2ubuntu1.1           
       MySQL module for php5
ii  php5-snmp                              5.0.5-2ubuntu1.1           
       SNMP module for php5

php5, I might add, and only for apache2! Meanwhile, the docs that ship
with cacti have a config section for php4!

msoulier at espresso:~$ cat cacti.apache.conf
Alias /cacti /usr/share/cacti/site

<DirectoryMatch /usr/share/cacti/site>
        Options +FollowSymLinks
        AllowOverride None
        order allow,deny
        allow from all
        <IfModule mod_php4.c>
                AddType application/x-httpd-php .php

                php_flag magic_quotes_gpc Off
                php_flag short_open_tag On
                php_flag register_globals Off
                php_flag register_argc_argv On
                php_flag track_vars On
                # this setting is necessary for some locales
                php_value mbstring.func_overload 0
                php_value include_path .

                DirectoryIndex index.php

Can you guys like, make up your minds? Are we going to install apache,
or apache2? php4, or php5?

Is there some coordination going on here? I'm very confused. Should
not "apt-get install cacti" pull in all required packages? Apparently

Michael P. Soulier <msoulier at digitaltorque.ca>
"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

More information about the ubuntu-users mailing list