Lamp Apache Mysql PHP Quick Install On Linux 1172 m0w770
Lamp Apache Mysql PHP Quick Install On Linux 1172 m0w770
install on Linux
June 2014
LAMP is the combination of Linux, the Operating System, Apache, and the most robust Web
Server, MySQL, the tiny but powerful database and a scripting Language in the form of PHP,
Python or Perl. Installing LAMP is easily done by using the install command in the Linux console
after providing the admin password for MySQL. After installation, the local host has to be opened
in the browser and it will show accordingly. The association between Apache & PHP is
essential. The next step is testing PHP in the same browser and it should pass the test. This is
applicable for all variants of Linux like Redhat, Mandrake, Ubuntu, etc.
Intro
LAMP is the acronym for a free and open source software suite, usually used to define and run a
dynamic web server infrastructure, software development and establish a software distribution
package.
Linux: the OS
Apache: the Web server
MySQL: the database management system
And finally one of these scripting languages: Perl, PHP or Python
Quick Installation
sudo aptitude install apache2 php5 mysql-server php5-mysql libapache2-mod-php5
PHP test
Create the file /var/www/test.php containing:
<? phpinfo(); ?>
Open http://localhost/test.php in your browser.
Links
https://help.ubuntu.com/community/ApacheMySQLPHP
http://www.howtoforge.com/ubuntu_lamp_for_newbies
http://services.tucows.com/...
This document entitled LAMP (Apache + MySQL + PHP) - quick install on Linux from Kioskea (en.kioskea.net) is
made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions
stipulated by the license, as this note appears clearly.