0% found this document useful (0 votes)
42 views

Lamp Apache Mysql PHP Quick Install On Linux 1172 m0w770

lamp apache mysql php quick install on linux 1173 diagnostic pack add a additional information to improve discoverability lamp apache mysql php quick install on linux 1173 diagnostic pack add a additional information to improve discoverability lamp apache mysql php quick install on linux 1173 diagnostic pack add a additional information to improve discoverability lamp apache mysql php quick install on linux 1173 diagnostic pack add a additional information to improve discoverability

Uploaded by

soma3nath
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Lamp Apache Mysql PHP Quick Install On Linux 1172 m0w770

lamp apache mysql php quick install on linux 1173 diagnostic pack add a additional information to improve discoverability lamp apache mysql php quick install on linux 1173 diagnostic pack add a additional information to improve discoverability lamp apache mysql php quick install on linux 1173 diagnostic pack add a additional information to improve discoverability lamp apache mysql php quick install on linux 1173 diagnostic pack add a additional information to improve discoverability

Uploaded by

soma3nath
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

LAMP (Apache + MySQL + PHP) - quick

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.

LAMP (Apache + MySQL + PHP) - quick


install on Linux
Intro
Quick Installation
PHP test
Links

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

Enter admin password required by mySQL.


sudo /etc/init.d/apache2 restart
Once the installation is complete, open http://localhost in your browser:

The root of your website is located in/var/www.

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.

You might also like