How to install php-cgi as a plugin in Mac OS ( OS X 10.10)?

后端 未结 3 1809
闹比i
闹比i 2021-01-13 20:24

I want to do PHP works on My Mac book. However, after I installed Php storm, and tell the PHP Interpreter\'s location, it

3条回答
  •  庸人自扰
    2021-01-13 20:59

    To get the latest version (or whatever version you already have) on your MacBook, use:

    brew install php --with-cgi --with-debug --with-libmysql
    

    Note that Benjamin's answer is similar. However, it's not ideal to install v54 when I'm already on v717, so using just "php" without the version would get the latest one.

提交回复
热议问题