This article describes how to upgrade wamp to xampp. For more information, see
This article describes how to upgrade wamp to xampp. For more information, see
Prepare to learn the php framework Laravel, but the PHP version must be 5.4 +. Currently, the default wamp Version 5.3 is used. Therefore, xampp is used. The following is a record:
Uninstall wamp, skip
> Ps: note that uninstalling wamp will delete the current files in PHP, because memcache will also be deleted for PHP's extended redis. Remember to back up or duplicate the version, and remember to back up the files in the MySQL database.
Https://www.apachefriends.org/zh_cn/index.html
Start Apache and MySQL, open localhost, and install
Configuration, because the xampp default root directory has a new www, You need to configure a virtual domain name for the original wamp www directory
Edit httpd. conf and modify
# AllowOverride none # Require all denied Options All AllowOverride All Order deny, allow Allow from all
Edit httpd-vhosts.conf
NameVirtualHost *: 80 Server Admin webmaster@dummy-host.example.com DocumentRoot "D:/soft/xampp/htdocs" ServerName localhost ServerAdmin webmaster@dummy-host.example.com DocumentRoot "D:/soft/wamp/www" ServerName vhallapp.com ServerAlias ErrorLog "D:/soft/wamp/apacheerror. log "CustomLog" D:/soft/wamp/apacheaccess. log "common
Edit hosts
The Code is as follows:
127.0.0.1
5. Download redis
The Code is as follows:
Download the dll file of version 5.6
6. Edit php. ini
The Code is as follows:
Extension = php_redis.dll
7. Open xdebug
[XDebug] zend_extension = "D: \ soft \ xampp \ php \ ext \ php_xdebug.dll" xdebug. profiler_append = 0xdebug. profiler_enable = 1xdebug. profiler_enable_trigger = 0xdebug. profiler_output_dir = "D: \ soft \ xampp \ tmp" xdebug. profiler_output_name = "cachegrind. out. % t-% s "xdebug. remote_enable = 0xdebug. remote_handler = "dbgp" xdebug. remote_host = "127.0.0.1" xdebug. trace_output_dir = "D: \ soft \ xampp \ tmp"
8. Open
Over
The above is all the content in this article. I hope it will be helpful for you to be familiar with XAMPP configuration.