This article mainly introduces the related information from wamp to xampp, which is very detailed. if you need it, you can refer to the preparation for learning the php framework Laravel. However, the PHP version requires 5.4 +, currently, the default wamp version is 5.3. Therefore, xampp is ready for use. 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.