Prepare to learn the php framework Laravel, but the PHP version requires 5.4, and the default version of wamp currently used is 5.3, so prepare to use it xampp, the following is the record
Uninstall wamp, skip
> ps: Note that uninstalling wamp will delete the files currently under PHP, because PHP’s extension redis and memcache will also be deleted. Remember to back up or re-download the version. Also remember to back up the MySQL database
https://www.apachefriends.org/zh_cn/index.htmlClick here to download the software
Start Apache, MySQL, open localhost and install successfully
Configuration, because the default root directory of xampp has a new www, you need to configure a virtual domain name for the original wamp’s www directory
Edit httpd.conf and modify
<Directory /> #AllowOverride none #Require all denied Options All AllowOverride All Order deny,allow Allow from all </Directory>
Edit httpd-vhosts.conf
NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "D:/soft/xampp/htdocs" ServerName localhost </VirtualHost> <VirtualHost *:80> 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 </VirtualHost>
Edit hosts
Copy code The code is as follows:
127.0.0.1 www.app.com
5. Download redis
Copy code The code is as follows:
http://pecl.php.net/package/redis/2.2.7/windows download the 5.6 version dll file
6. Edit php.ini
Copy code 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 = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "D:\soft\xampp\tmp" xdebug.profiler_output_name = "cachegrind.out.%t-%s" xdebug.remote_enable = 0 xdebug.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 the entire content of this article. I hope it will help everyone get familiar with configuring XAMPP.