The path from wamp to xampp, the path of wampxampp-PHP Tutorial

Source: Internet
Author: User
Tags download redis
The path from wamp to xampp is the path to wampxampp. From wamp to xampp, wampxampp is ready to learn the php framework Laravel. However, the PHP version requires 5.4 +. Currently, the default wamp version is 5.3. Therefore, xampp is ready to be used, the following describes how to unload wamp to xampp, and how to uninstall wampxampp.

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 PHP files, because memcache will also be deleted for PHP's extended redis. remember to back up or repeat the version, and remember to back up MySQL databases.

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
 
    ServerAdmin 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 www.vhallapp.com  ErrorLog "D:/soft/wamp/apacheerror.log"  CustomLog "D:/soft/wamp/apacheaccess.log" common
 

Edit hosts

The code is as follows:
127.0.0.1 www.app.com

5. download redis

The code is as follows:
Http://pecl.php.net/package/redis/2.2.7/windowsdownload 5.620.dllfile

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 www.app.com
Over

The above is all the content in this article. I hope it will be helpful for you to be familiar with XAMPP configuration.

Prepare to learn the php framework Laravel, but the PHP version requires 5.4 +. Currently, the default wamp version 5.3 is used. Therefore, prepare to use xampp. The following is the record unload...

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.