摘要: 阅读全文
posted @ 2021-05-17 10:03 yahn~ 阅读(169) 评论(2) 推荐(0) 编辑
摘要: # Virtual Hosts## Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your# machine you can setup VirtualHost con 阅读全文
posted @ 2021-04-08 14:53 yahn~ 阅读(93) 评论(0) 推荐(0) 编辑
摘要: ## This is the main Apache HTTP server configuration file. It contains the# configuration directives that give the server its instructions.# See <URL: 阅读全文
posted @ 2021-04-08 14:50 yahn~ 阅读(89) 评论(0) 推荐(0) 编辑
摘要: var http = require('http');//读取内容借助模块var fs = require('fs');const formidable = require('formidable');var util = require('util');var server = http.crea 阅读全文
posted @ 2020-12-29 10:07 yahn~ 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 安装 npm install -g node-dev 即可 阅读全文
posted @ 2020-12-28 13:20 yahn~ 阅读(111) 评论(0) 推荐(0) 编辑
摘要: yanruichengdeMacBook-Pro:htdocs yanruicheng$ brew install nodejs ==> Downloading https://homebrew.bintray.com/bottles/node-14.9.0.high_sierra.bot ==> 阅读全文
posted @ 2020-12-28 09:12 yahn~ 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 安装: composer create-project --prefer-dist laravel/laravel laravel8 生成test控制器: php artisan make:controller TestController routes里的web.php添加以下代码: Route: 阅读全文
posted @ 2020-12-22 15:17 yahn~ 阅读(139) 评论(0) 推荐(0) 编辑
摘要: brew install nginx ==> Downloading https://homebrew.bintray.com/bottles/nginx-1.19.2.high_sierra.bo Already downloaded: /Users/yanruicheng/Library/Cac 阅读全文
posted @ 2020-12-14 16:50 yahn~ 阅读(78) 评论(0) 推荐(0) 编辑
摘要: To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php7_module /usr/local/opt/php/lib/httpd/modules/libphp7.so <Fi 阅读全文
posted @ 2020-12-14 15:28 yahn~ 阅读(184) 评论(0) 推荐(0) 编辑
摘要: yanruichengdeMacBook-Pro:~ yanruicheng$ phpize Cannot find config.m4. Make sure that you run '/usr/local/bin/phpize' in the top level source directory 阅读全文
posted @ 2020-12-02 16:50 yahn~ 阅读(521) 评论(0) 推荐(0) 编辑