XAMPP+composer+laravel+thinkphp5那些深情的往事

xampp 依赖库

https://www.microsoft.com/zh-CN/download/details.aspx?id=29

下载地址

https://www.apachefriends.org/zh_cn/download.html

xampp 数据库密码配置修改注意事项

不修改 远程访问会出现这个问题

提示“Access denied for user 'root'@'localhost' (using password: YES)”的解决办法

XAMPP+composer+laravel+thinkphp5那些深情的往事

XAMPP+composer+laravel+thinkphp5那些深情的往事

XAMPP+composer+laravel+thinkphp5那些深情的往事

Composer 官网

https://getcomposer.org/download/

Composer 安装注意事项

XAMPP+composer+laravel+thinkphp5那些深情的往事

XAMPP+composer+laravel+thinkphp5那些深情的往事

laravel 部署

需要* 国外源

D:\xampp\htdocs>composer create-project laravel/laravel wanson_laravel -vvv

http://127.0.0.1/wanson_laravel/public/

国内源 -g 意思是全局的意思

composer config -g secure-http false

 config -g repo.packagist composer http://packagist.phpcomposer.com

composer create-project  --prefer-dist laravel/laravel wanson_laravel -vvv

http://127.0.0.1/wanson_laravel/public/

thinkphp5部署

composer config -g secure-http false

 config -g repo.packagist composer http://packagist.phpcomposer.com

D:\xampp\htdocs>composer create-project  topthink/think wanson_thinkphp5 --prefer-dist -vvv

http://127.0.0.1/wanson_thinkphp5/public/

或者

https://www.kancloud.cn/manual/thinkphp5/118006

git clone https://github.com/top-think/think

composer install

php -S localhost:9300 -t public/

上一篇:换个角度审视NAT技术


下一篇:POJ2594 Treasure Exploration(最小路径覆盖)