Dapper Drake Update: Ubuntu Apache-PHP-MySQL Server

Submitted by str on Tue, 07/25/2006 - 10:00

Many people found my original post regarding this as "the quick help" how to install Apache, PHP and MySQL in Ubuntu; now with Dapper Drake I'll make it more ultra-quick :)

Just type this one liner in your Ubuntu console and you will have all them up and running:

$ sudo apt-get install mysql-server apache2 php5 php5-mysql libapache2-mod-php5

Related Items

Comments

000cieman000 (not verified)

Mon, 11/13/2006 - 21:50

Well...but PHP doesn't work...
whe I try to view my test page it ask me to download page...

I restarted apache but it doesn't work

Why???

but
$sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package mysql-server has no installation candidate
$

I'm not so sure about your question, let me clarify: MySQL already installed in your server, and basically you want to up upgrade it?

If my understanding is correct, you can use this command:
sudo apt-get upgrade mysql-server

Let me know if it is what you want.

Sandro