PHP + Apache + MySQL

NoOp glgxg at
Mon Aug 6 16:51:40 UTC 2007

On 08/05/2007 01:58 PM, Messó wrote:
> Hiho!
> I've installed MySQL through:
> sudo apt-get install mysql-server
> It works fine.
> Then I've installed apache2+php through:
> sudo apt-get install php5
> (apache2 was installed as well with this command)
> Apache2 and PHP works fine.
> Now I would like to make them together work: PHP+MySQL.
> I checked the php.ini, and there is no mysql extension. I was search for
>, but I'm not finding it.
> Should i download a Or what are the right steps?
> Thanks for your help!

If you are on standard Ubuntu:

System|Administration|Synaptic Package Manager|Edit|Mark Packages by
Task|LAMP server

That will install _all_ of the required files for Apache/MySQL/PHP
server. Essentially it installed the Ubuntu LAMP server on to your
exisiting system.

Alternative from the command line:
sudo tasksel

More information about the ubuntu-users mailing list