After the Apache and MySQL installation is complete, continue to install PHP. To build a LAMP dynamic website platform.

PHP related packages:
libmcrypt ------------------ #System call crypt encryption algorithm environment
mcrypt ------------------ --#crypt encryption algorithm, encrypt the header information of the webpage
mhash -----------------------#Data validation algorithm, md5 sha
php --- ----------------------#PHP language operating environment, PHP statement interpreter
phpMyAdmin #A site written in PHP , manages the mysql database through the web page, and tests the page
zend- loader-php5.5 #Optimize PHP process processing, increase access concurrency and response speed.

Steps:


  • One, install PHP

[root@localhost ~]# rpm -e php php-cli php-ldap php-common php-mysql --nodeps

Install php dependent environment

[root@localhost ~]# rpm -

Guess you like

Origin blog.csdn.net/qq_50573146/article/details/110249958