使用方法:
- php hosts.php local # 域名将指向本机 127.0.0.1
- php hosts.php dev # 域名将指向开发机 192.168.1.100
- php hosts.php # 删除域名的 hosts 配置
复制代码
|
hosts, PHP
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
作者最新文章
-
2024-10-09 22:27:01
-
2024-10-09 20:15:31
-
2024-10-09 16:42:41
-
2024-10-09 16:12:01
-
2024-10-09 13:33:51
-
2024-10-09 12:27:11
-
2024-10-09 12:00:03
-
2024-10-09 11:03:31
-
2024-09-20 15:51:33
-
2024-09-20 15:47:32