O'Reilly logo

Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing a LAMP on Linux

This book is aimed mostly at PC and Mac users but its contents will work equally well on a Linux computer. However, there are dozens of popular flavors of Linux and each of them may require installing a LAMP in a slightly different way, so I can’t cover them all in this book.

However, many Linux versions come preinstalled with a web server and MySQL, and chances are you’re set to go already. To find out, try entering the following into a browser and see whether you get a default document root web page:

http://localhost

If this works, you probably have the Apache server installed and may also have MySQL up and running—check with your system administrator to be sure, though.

If you don’t yet have a web server installed, there’s a version of Zend Server Free Edition available for download at http://tinyurl.com/zendfree.

All the instructions and help you need are detailed on the download page. Follow them closely or use the provided scripts and you should be able to work through all the examples in this book.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required