Posted Wed, 12/17/2008 - 10:58pm by str
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
Posted Tue, 05/06/2008 - 5:52pm by str
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
Posted Sun, 06/10/2007 - 12:13pm by str
Here are the packages you need to install to make your Ubuntu 7.04 as webserver with PHP and MySQL support.
- Install Apache:
sudo apt-get install apache2
- Install PHP5:
sudo apt-get install php5-common php5 libapache2-mod-php5
- Install MySQL:
sudo apt-get install mysql-server mysql-client
- To use MySQL with PHP:
sudo apt-get install php5-mysql
Posted Tue, 02/27/2007 - 11:13pm by str
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:
#additional packages that extend functionality of existing packages
[centosplus]
Posted Tue, 07/25/2006 - 10:00am by str
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
Posted Sat, 07/02/2005 - 10:00am by str
After the default Minimal installation of Redhat Enterprise Linux 4, here are the packages I need to install to have a Apache-PHP-MySQL services running.
- Database Server
# yum install mysql-server
- Apache HTTP Server
# yum install httpd
- PHP for Apache HTTP Server
# yum install php
- MySQL for Apache HTTP Server
# yum install php-mysql
Posted Mon, 06/13/2005 - 10:00am by str
After the default normal installation of Ubuntu, here are the additional steps I need to do to have a Apache-PHP-MySQL Server.
- SSH Server (for my remote access)
sudo apt-get install ssh
- Database Server
sudo apt-get install mysql-server
- Apache HTTP Server
sudo apt-get install apache2
- PHP for Apache HTTP Server
sudo apt-get install php4
- MYSQL for Apache HTTP Server
sudo apt-get install libapache2-mod-auth-mysql
Recent comments
32 sec ago
1 min 58 sec ago
4 min 1 sec ago
5 min 21 sec ago
5 days 12 hours ago
7 weeks 4 days ago
12 weeks 1 day ago
15 weeks 2 days ago
17 weeks 6 days ago
23 weeks 5 days ago