源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

从wamp到xampp的升级之路

  • 时间:2022-02-13 20:53 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:从wamp到xampp的升级之路
准备学习php框架Laravel,但PHP版本要求5.4+,目前用的wamp默认版本5.3,所以准备使用xampp,以下为记录 [b]卸载wamp,略过 [/b]> ps:注意卸载wamp会删除PHP目前下的文件,因为PHP的扩展redis,memcache也会删除,记得备份,也可重下版本,还有MySQL数据库也记得备份 [url=https://www.apachefriends.org/zh_cn/index.html]https://www.apachefriends.org/zh_cn/index.html[/url]点此下载软件 启动Apache,MySQL,打开localhost成功安装 配置,因为xampp默认根目录有新的www,因此需要为原来的wamp的www目录配置虚拟域名 编辑httpd.conf ,修改
<Directory />
  #AllowOverride none
  #Require all denied
  Options All
  AllowOverride All
  Order deny,allow
  Allow from all
</Directory>
编辑httpd-vhosts.conf
NameVirtualHost *:80
<VirtualHost *:80>
  ServerAdmin webmaster@dummy-host.example.com
  DocumentRoot "D:/soft/xampp/htdocs"
  ServerName localhost
</VirtualHost>
<VirtualHost *:80>
  ServerAdmin webmaster@dummy-host.example.com
  DocumentRoot "D:/soft/wamp/www"
  ServerName vhallapp.com
  ServerAlias www.vhallapp.com
  ErrorLog "D:/soft/wamp/apacheerror.log"
  CustomLog "D:/soft/wamp/apacheaccess.log" common
</VirtualHost>
编辑hosts
[url=http://www.app.com]www.app.com[/url]
5. 下载redis
[url=http://pecl.php.net/package/redis/2.2.7/windows]http://pecl.php.net/package/redis/2.2.7/windows[/url]下载5.6版本dll文件
6. 编辑php.ini
[url=http://www.app.com]www.app.com[/url] over 以上所述就是本文的全部内容了,希望能够对大家熟悉配置XAMPP有所帮助。
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部