在虚拟主机的设置小节中添加php_flag engine on/off
如:
<VirtualHost 61.156.20.89:80>ServerName xxxxxx.comphp_flag engine offserveralias www.xxxxxx.comServerAdmin webmaster@hanxiao2000.comDocumentRoot "/home/xxxxxx/htdocs"</VirtualHost>