Home > Article > Backend Development > How to use yum to install php mysql and gd extension libraries on centos6
Configure the mysql startup service
2. Install PHP
#vi /var/www/html/index.php Test code:
Save and exit, use IE to visit http://youdomain.com/ If phpinfo information is output, it means php Successful installation. 3. Install php related components
The installation is complete and restart the apache service:
The lamp environment is now set up. |