What is lampapache+mysql+php?
This article mainly introduces what is lampapache+mysql+php, the content of the article is carefully selected and edited by the author, with a certain pertinence, the reference significance for everyone is still relatively great, the following with the author to understand what is lampapache+mysql+php.
L is linux, an is apache,m, apache,p is php.
Apache
Install apache
Yum insatll httpd-y
Enable the apache service
Service httpd start
Set runlevel 235 to boot
Chkconfig-levels 235 httpd on
Configure the httpd file
Vi / etc/httpd/conf/httpd.conf
ServerName get rid of #
Restart the httpd service
Service httpd restart
Mysql
Install the mysql database
Yum install mysql mysql-sever-y
Open the mysql database
Service mysqld start
Chkconfig-levels 235 mysqld on
Set the mysql database password
Mysql_secure_installation
2y enter the rest
Log in to database
Mysql-u root-p
Php
Install php
Yum install php*-y
Turn on php
Service httpd restart
Write a php test page
Vi / var/www/html/info.php
Input
Restart the httpd service
Service httpd restart
After reading the above about what lampapache+mysql+php is, many readers must have some understanding. If you need to get more industry knowledge and information, you can continue to follow our industry information column.