LAMP is One of the most popular dynamic web site environments in use today. It's easy to build something and get it up and running very quickly with PHP and MySQL. But is there anything "bad" about LAMP?
LAMP is One of the most popular dynamic web site environments in use today. It's easy to build something and get it up and running very quickly with PHP and MySQL. But is there anything "bad" about LAMP?
LAMP is One of the most popular dynamic web site environments in use today. It's easy to build something and get it up and running very quickly with PHP and MySQL. But is there anything "bad" about LAMP?
Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa What is LAMP?
One of the most popular dynamic web
site environments in use today… There are other flavors of this… Linux Linux FreeBSD FreeBSD Apache Apache Apache Apache MySQL Postgresql MySQL Postgresql PHP PHP PHP PHP Why so popular?
From Wikipedia (I agree):
• Easy to code: Novices can build something and get it up and
running very quickly with PHP and MySQL. • Easy to deploy: Since PHP is a standard Apache module, it’s easy to deploy a PHP application. Once you’ve got MySQL running, simply upload your .php files. • Develop locally: It’s easy to set up LAMP on your laptop, build your app locally, then deploy on the Web. • Cheap and ubiquitous hosting: Even the cheapest Web hosts options allow you to run PHP and MySQL. Why so popular cont.?
• MySQL is fast and can support large sites.
• PHP is relatively easy to learn and use. • Many people already run and know Linux. • Apache is ubiquitous.
Steps to Using LAMP 1. Install a Linux server with Apache, MySQL and PHP. 2. Install the necessary modules so that Apache will execute (interpret) PHP code. 3. Install the necessary modules so that PHP can talk to MySQL. 4. Design and create an initial MySQL database for your project. 5. Populate the database with data if relevant. 6. Write PHP code to use this data and to dynamically generate web pages based on coding logic and available data. 7. Ensure you use proper coding and configuration method to secure your LAMP server. LAMP Installation Lab