php 环境配置

由于公司有很多的项目是和php相关所以近来也学习了下php相关的东西

开始

语法相关菜鸟先看一波 http://www.runoob.com/php/php-tutorial.html

环境配置

https://phpartisan.cn/news/39.html

还是推荐先装一个brew

然后
brew install php71;
brew install nginx;
brew install mysql;

IDE的选择必须PhpStorm https://xclient.info/s/php-storm.html

PhpStorm 破解教程 https://github.com/valentizx/jetbrains-agent

遇到的坑及解决;

mysql 5.7以上root密码
https://www.cnblogs.com/arraylist/p/6726614.html
https://blog.csdn.net/zyz1431/article/details/79244002
https://baijiahao.baidu.com/s?id=1615913076105761380&wfr=spider&for=pc

用brew装遇到问题解决
https://www.cnblogs.com/xuyatao/p/6932885.html

用dmg文件直接装mysql

https://www.cnblogs.com/xuyatao/p/6932885.html

你可能感兴趣的:(php 环境配置)