Apache Virtual Host not parsing PHP

后端 未结 10 1190
日久生厌
日久生厌 2020-12-05 23:42

I decided to enable virtual hosts on my Apache server, and chose to make it port-based.

First thing I did, of course, was RTM. I followed the instructions found her

10条回答
  •  有刺的猬
    2020-12-06 00:43

    This finally put me on the right path:

    http://www.linuxquestions.org/questions/linux-server-73/php-not-working-on-one-vhost-but-works-on-all-others-851093/

    Here's the solution:

    In the section, I included these lines:

    
        php_admin_flag engine on
    
    
        php_admin_flag engine on
    
    

    Or, a redacted copy/paste of the solution on my server:

    
        
            php_admin_flag engine on
        
        
            php_admin_flag engine on
        
    
        (Other configuration parameters)
    
    
    

提交回复
热议问题