Apache + MySql + Php.
1. Installing Apache
Apache can use the following command to install sudo apt-get install apache2
Apache Default path is/var/www/
Its configuration file path is:/etc/apache2/
You can modify the listening port number by: sudo nano/etc/apache2/ports.conf
Restart Service effective: sudo service apache2 restart
2, install MySQL sudo apt-get install mysql-server installation process, a prompt will appear to let you enter a password. This password is the password of the MySQL root user.
Blog Source:
- http://www.cnblogs.com/xiaobo-Linux/qq463431476 wavelet
- Http://blog.csdn.net/zhaocundang
3, install PHP input the following command, you can install PHP 5, and PHP access to the MySQL database required libraries.
sudo apt-get install php5
sudo apt-get install Php5-mysql
Aptitude search Mysql-server See if there are any installed
sudo apt-getinstall php5 libapache2-mod-php5-y
Apache Support PHP Web page requires this plugin: LIBAPACHE2-MOD-PHP5
Raspberry Pi Debian Configuration lamp[fix Apache does not show PHP page]