Mac上怎么启动Apache
2020-05-02 2029 分享

MacOS默认是安装了 Apache 的,要启动 Apache 服务需要手动通过命令行开启。 

启动Apache 

sudo apachectl start 

停止Apache 

sudo apachectl stop 

启动后可以通过 http://127.0.0.1 访问了。 

查看apache配置文件

1582344739756518.png


相关推荐
nginx TP5路由访问
location / {        try_files $uri $uri/ /index.php?s=$uri&$query_string;    }
2020-10-151837分享
Mac上怎么启动Apache
MacOS默认是安装了 Apache 的,要启动 Apache 服务需要手动通过命令行开启。 启动Apache sudo apachectl start 停止Apache sudo apachectl stop 启动后可以通过 http://127.0.0.1 访问了。 查看apache配置文件httpd -V
2020-05-022030分享
Composer安装软件库
将riverslei/payment替换为要下载的包以及版本url": "是切换为国内镜像">https://packagist.phpcomposer.com 是切换为国内镜像在指定目录创建composer.json,内容如下
2020-05-022164分享
Thinkphp 标签封装
可在控制器创建一个tag控制器,继承TagLib,下面是代码,需要在配置文件视图配置的地方加 : 'taglib_pre_load'=>"此处是引入的命名空间",
2020-05-022004分享
PHP中文字符串截取
php中文字符串截取,PHP内置mb_substr()函数,需要开启对应扩展mb_substr($str,0,10,"utf8")
2020-05-022012分享

联系站长 : 17620917002
站长邮箱 : 425158482@qq.com
问题咨询 : QQ 425158482
系统长期维护,放心使用

备案号:蜀ICP备19015811号-3

案例展示
电脑展示 手机展示
首页
系统
笔记
登录