This article mainly introduces the manual construction of apache mysql php, which has certain reference value. Now I share it with everyone. Friends in need can refer to it.
Previous server construction was through "PHP study "One-click package construction. In order to have a deeper understanding of their combination, I decided to build it myself and have fun. Another reason is that laravel's migration file has a Json field (mysql>=5.7, a new type). Then the mysql version in study is too low, and I don’t want to modify its files.
The Hyper-V virtual machine that comes with win10 is used. The premise is that you need to Hyper-V yourself.
Control Panel--Programs and Features--Turn Windows features on and off
##Just check the box and restart.
After restarting, there will be more
in the start menu bar. Click on it and it will be
composer create-project laravel/laravel=5.5 demo --prefer-dist 配置.ENV数据库 你可以创建一个迁移文件,这里我修改的是已有的users文件,添加json类型
The above is the detailed content of Manually build apache+mysql+php. For more information, please follow other related articles on the PHP Chinese website!