Forcing Apache2 to use php56 from Homebrew

后端 未结 1 1210
清酒与你
清酒与你 2021-01-23 19:35

So I started with

brew reinstall php56 --with-apache

This worked fine I then amended httpd.conf to include

LoadM         


        
相关标签:
1条回答
  • 2021-01-23 20:31

    I was restarting apache, but it was not working it turns out.

    Restarting my whole machine did work and apache then used the correct version of PHP.

    Apparently killall httpd has the same effect too. Although I have not tried that.

    0 讨论(0)
提交回复
热议问题