网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

win+apche+mysql+php本地搭建网站域名访问

时间:2024-11-01 02:34:23

1、打开C:\Windows\System32\Drivers\etc127.0.0.1 localhost127.0.0.1 dede.com

2、打开D:\phpStudy\Apache\conf\httpd.conf#ServerName localhostInclude conf/extra/httpd-vhosts.conf

3、打开D:\phpStudy\Apache\conf\extra\httpd-vhosts.conf<VirtualHost *:80>DocumentRoot "D:/phpStudy/WWW"ServerName localhost</VirtualHost><VirtualHost *:80> DocumentRoot "D:/phpStudy/WWW/dede" ServerName dede.com</VirtualHost>

4、把下载好的dedecms解压到D:/phpStudy/WWW/dede路径下,安装就可以了。如图

win+apche+mysql+php本地搭建网站域名访问
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com