Apache2 in default Ubuntu install
micahg at ubuntu.com
Fri Aug 13 08:23:22 BST 2010
On 08/13/2010 02:06 AM, Harry Strongburg wrote:
> On Fri, Aug 13, 2010 at 6:00 AM, Martin Pitt<martin.pitt at ubuntu.com> wrote:
>> php5 installs everything related to PHP, which includes the web server
>> module. If you only want the command line interpreter, but none of the
>> web stuff, just install php5-cli instead. But I dare to claim that
>> most people who want PHP actually want it as a web server platform.
> Apache is not the only httpd in the world that supports PHP-CGI! PHP can be run with most httpds.
> Bundling the php5 package to install Apache is like selling T-Shirts along with jeans, but packaged together. There's a large chance that the end-user will use the pants that were sold with the T-Shirt, but why package them together? The end-user should have more options, not less!
> (It's a bad example, but it's all I can think of at 4 AM :))
Which would probably explain why php5-cgi doesn't pull in apache:
apt-cache show php5-cgi
Depends: libbz2-1.0, libc6 (>= 2.11), libcomerr2 (>= 1.01), libdb4.8,
libgssapi-krb5-2 (>= 1.6.dfsg.2), libk5crypto3 (>= 1.6.dfsg.2),
libkrb5-3 (>= 1.6.dfsg.2), libpcre3 (>= 7.7), libssl0.9.8 (>= 0.9.8k-1),
libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4), mime-support, php5-common (=
5.3.2-1ubuntu4.2), libmagic1, ucf, tzdata
Description: server-side, HTML-embedded scripting language (CGI binary)
This package provides the /usr/lib/cgi-bin/php5 CGI interpreter built
for use in Apache 2 with mod_actions, or any other CGI httpd that
supports a similar mechanism. Note that MOST Apache users probably
want the libapache2-mod-php5 package.
The following extensions are built in: bcmath bz2 calendar Core ctype date
dba dom ereg exif fileinfo filter ftp gettext hash iconv json libxml
mbstring mhash openssl pcre Phar posix Reflection session shmop SimpleXML
soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml
xmlreader xmlwriter zip zlib.
PHP5 is an HTML-embedded scripting language. Much of its syntax is
from C, Java and Perl with a couple of unique PHP-specific features thrown
in. The goal of the language is to allow web developers to write
generated pages quickly. This version of PHP5 was built with the
More information about the Ubuntu-devel-discuss