LAMP(Apache + MySQL + PHP) quick install on Linux
Intro
LAMP is the acronym for a free and open source software suite.usually used to define and run dynamic a 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 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/...