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...