Home >Backend Development >PHP Tutorial >Linux rpm installation php mysql apche
Required packages
yum install php
yum install mysql
yum install mysql-server
yum install apche
yum install php-mysql
configuration
/etc/php.ini specifies the location of mysql.sock, mine is at /tmp.mysql.sock
Modify mysql password
Modify /etc/php.ini incorrect running level, etc.
Directory accessed
Default apache root directory /var/html/
The above introduces the Linux rpm installation of php mysql apche, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.