Upgrade from wamp to xampp

Source: Internet
Author: User
Tags download redis
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.