Ready to learn PHP framework Laravel, but PHP version requires 5.4+, the current Wamp default version 5.3, so ready to use XAMPP, the following is the record
Uninstall Wamp, skip
> PS: Note uninstall Wamp will delete PHP currently under the file, because the PHP extension Redis,memcache will also be deleted, remember backup, also can be reset version, as well as the MySQL database also remember to back up
https://www.apachefriends.org/zh_cn/index.html Click here to download the software
Start Apache,mysql, open localhost install successfully
Configuration, because the XAMPP default root directory has a new WWW, so you need to configure the virtual domain name for the original Wamp www directory
Edit httpd.conf, modify
<directory/>
#AllowOverride None
#Require all denied
Options all
allowoverride
Deny,allow
allow from
</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 Soft/wamp/apacheaccess.log "Common
</VirtualHost>
Edit hosts
Copy Code code as follows:
5. Download Redis
Copy Code code as follows:
Http://pecl.php.net/package/redis/2.2.7/windows Download version 5.6 DLL file
6. Editor PHP.ini
Copy Code code as follows:
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 mentioned is the entire content of this article, I hope to be familiar with the configuration of XAMPP to help.