The way to upgrade from Wamp to XAMPP _php skills

Source: Internet
Author: User
Tags download redis learn php php framework redis windows download

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:

127.0.0.1 www.app.com

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:

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 mentioned is the entire content of this article, I hope to be familiar with the configuration of XAMPP to help.

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.