Multiple PHP version with Apache on CentOS 7

前端 未结 6 1729
春和景丽
春和景丽 2020-12-30 08:57

Can anyone here instruct me way to install and configure Multi PhP with one apache instance on CentOS 7, and the proper way to test it..

6条回答
  •  一整个雨季
    2020-12-30 09:07

    I had to add the following to my php.conf inside the directory statement to make the Apache Server API change to FPM/FastCGI instead of CGI/FastCGI - your solution was almost perfect though! Now if I could just figure out how to make it use a socket instead of TCP, I'd be one happy coder.

    # mod_proxy_fcgi options
    
        
           SetHandler "proxy:fcgi://127.0.0.1:9072"
        
    
    

提交回复
热议问题