How to install Linux Apache MySQL and PHP (LAMP)
1. To install update, type "sudo apt-get update"
2. To install Apache web server, type "sudo apt-get install apache2"
3. To install MySQL, type "sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql"
4. To activate MySQL, type "sudo mysql_install_db"
5. To run MySQL setup script, type "sudo /usr/bin/mysql_secure_installation"
6. To install PHP scripting language, type "sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt"
7. To install nano text editor, type "sudo apt-get install nano"
8. To add php to the directory index, type "sudo nano /etc/apache2/mods-enabled/dir.conf" and add index.php
9. To search fo PHP libraries and modules, type "apt-cache search php5-"
10. To install any modules you want, example: "sudo apt-get install php5-intl"
Subscribe for more computer tutorials :)
this is TJ and Gerlyn of Miranda-PCS.Com
See you guys later... :)