五:查看http调用php模块:
[root@localhost Server]# cd /etc/httpd/conf.d/ #切换到该目录中查看http调用http模块
[root@localhost conf.d]# cat php.conf
六:测试http能否调用php:
[root@localhost conf.d]# cd /var/www/html/
[root@localhost html]# vim index.php #创建该文件,测试http能否调用php
[root@localhost html]# service httpd restart
七:测试php能否调用MySQL:
[root@localhost html]# vim index.php #再次编辑该文件,查看php能否成功调用mysql