PHP

Ubuntu 8.10 (Intrepid Ibex) Apache-PHP-MySQL Server

Submitted by str on Wed, 12/17/2008 - 22:58

Simple installation of Apache, PHP and MySQL in Ubuntu 8.10 (Intrepid Ibex).

Optionally, install SSH Client and Server (for remote access to this server)
sudo apt-get install ssh

Install Database Server
sudo apt-get install mysql-server

Install Apache2 web server
sudo apt-get install apache2

Install PHP5
sudo apt-get install php5 libapache2-mod-php5

Install PHP5-MySQL support
sudo apt-get install php5-mysql

Restart Apache
sudo /etc/init.d/apache2 restart

Ubuntu 8.04 LTS (Hardy Heron) Apache-PHP-MySQL Server

Submitted by str on Tue, 05/06/2008 - 17:52

Once again, here's my updated simple installation of Apache, PHP and MySQL in Ubuntu 8.04 LTS (Hardy Heron) Server.

Install SSH Client and Server (for my remote access)
sudo apt-get install ssh

Install Database Server
sudo apt-get install mysql-server-5.0

Install Apache HTTP Server
sudo apt-get install apache2

Install PHP5 and Apache PHP5 module
sudo apt-get install php5 libapache2-mod-php5

Restart Apache
sudo /etc/init.d/apache2 restart

Optionally, install phpMyAdmin
sudo apt-get install phpmyadmin

PHP5 for CentOS 4.4

Submitted by str on Tue, 02/27/2007 - 23:13

I’m using right now CentoS 4.4 and PHP5 is not yet part of the rpm package. I can always download the source and compile it or search some pre-pack PHP5 RPM and install it.

Alternatively, here’s how to do it using the good old yum one liner command.

Edit CentOS-Base.repo
vi /etc/yum.repos.d/CentOS-Base.repo
Enable CentOSPlus by changing:

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