[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing PHP and Apache on Debian



On Sun, 2004-08-08 at 16:18 -0500, wrote:
> Hi.
> 
> I plan to install PHP and Apache on a new, virgin (remote) Debian server, with PHP running as an Apache shared module. 
> Can I do that using "apt-get install"? Would I simply run "apt-get install php4" (is that the correct notaton?) and will that take care of everything else (including installing Apache)? If not, I would appreciate any pointers to documents that will step me through the process (including Debian specific caveats), or even step-by-step instructions.
> 
> TIA,
> Joseph

If you're installing something new, check the depends list for what is
to be installed and for what is suggested.  Install suggested packages
if a package doesn't seem to work.

$ apt-cache depends php4

In this case, you can see that apache server is not installed (though
apache-common is).

$ apt-get install php4 apache apache-doc php-doc

The /usr/share/doc/<package>/README.Debian usually gives workarounds for
any problems.



Reply to: