Hi All,

I have recently installed Ubuntu 7.04 (desktop) on a machine and am
trying to set it up as a webserver. I need to enable PHP support for
apache (currently my apache simply returns the code for html-php
without interpreting them). I am new to APT and can't figure out which
packages I need to install. I wanted to start with apache2 so I did:

% apt-get install apache2

The execution of the above command completed without an error, but the
system didn't have the apache2 server running automagically.
Executing:

% /usr/sbin/apache2ctl start

failed and complained about a missing /etc/apache2/httpd.conf file.
Why didn't the apache2 installation come with a default? Resuing an
older apache1.3 config file didn't do the trick. There was a syntax
error reported by apache2 with it.

I gave up and installed apache2 from source and that seemed to work
fine. I have a HTTP server going now.

Then came time to enable support for PHP. Now which package should I
install for php? There seem to be plenty to choose from. Will
installing PHP using APT have trouble dealing with the installation of
apache2 which was done from source?

I'm tired today, being down with flu, so my usual troubleshooting
energies are low. Can someone hand-hold me through this process?

thanks in advance,
Rohit.

Reply via email to