using the Apt-get method is the simplest and fastest and most stable in a desktop Linux environment. Execute the following command separately: (1) Install MySQL sudo apt-get install mysql-server sudo apt-get install mysql-client (2) Install Apache sudo apt-get installed Apache2 (3) Install PHP sudo apt-get install php5 sudo apt-get install libapache2-mod-auth-mysql sudo apt-get install Php5-mysql After the installation, the detection is successful: (1) Check whether MySQL is normal input in the terminal: Mysql-uusername-ppassword (replace username and password with the one you set) to see if you can log in normally (2) Detect if Apache is normally open in the browser: http://localhost/If the following information appears, it is normal. It works! This is the default Web page for this server. The Web server software is running and no content has been added, yet. (3) detection PHP is normal Ubuntu under the default installation path of Apache/var/www/html, to its directory under the new info.php file, the file content is: <?phpphpinfo ();? > then open in the browser: http://localhost/info.php See if it's OK. Note: Creating a new file directly in the directory may not have permission to add the current user right: Su root (Root user) Chown username/var/www (replace username with your current user's username) exit (exit Root)
Build lamp environment on mint17