vim /usr/local/apache/conf/httpd.conf ##修改apache的網頁配置文件 → 解析php文件
/usr/local/apache/bin/apachectl graceful ## 重新加載
vim 2.php
vim info.php
cp /usr/local/src/php-5.4.45/php.ini-production /usr/local/php/etc/php.ini ##拷貝配置文件
/usr/local/apache/bin/apachectl graceful ##重新加載
curl :
curl 192.168.122.129/2.php
http://www.bkjia.com/Linuxjc/1193618.html TechArticle