Wnpmx configuration note

Source: Internet
Author: User
Wnpmx? For windows + ngix + php + mysql + xdebug, You need to manually configure php for your website. 0: first, download php, nginx, mysql, and xdebug. dll to the ext directory. 1: Modify the nginxconfig file http {fastcgi_connect_timeout300; fastcgi_send_time

Wnpmx? For windows + ngix + php + mysql + xdebug, You need to manually configure php for your website. 0: first, download php, nginx, mysql, and xdebug. dll to the ext directory. 1: Modify the nginx config file http {fastcgi_connect_timeout 300; fastcgi_send_time

Wnpmx? Windows + ngix + php + mysql + xdebug

To create a website, you need to use php to manually configure it;

0: first download php, nginx, mysql, and xdebug, And put xdebug. dll in the ext directory.

1. Modify the nginx config File

Http {fastcgi_connect_timeout 300; Limit 300; fastcgi_read_timeout 300; Limit 16 k; limit 4 64 k; proxy_buffer_size 16 k; proxy_buffers 4 16 k; Limit 32 k; fastcgi_buffers 8 32 k; server {log_format hms1 '$ remote_addr-$ remote_user [$ time_local] "$ request" localDirectory $ request_filename ''$ status $ body_bytes_sent" $ http_referer "'' "$ http _ User_agent "$ http_x_forwarded_for '; log_format hms'" $ fastcgi_script_name "'; autoindex_localtime on; autoindex on; index. php index.html index.htm; listen 8088; location/{root D:/qq; # You can specify your web directory index. php index.html index.htm; autoindex on; # Whether to display the directory} location ~ \. Php $ {log_format www.zjs.com. php $ fastcgi_script_name; access_log logs/zjs. log www.zjs.com. php; fastcgi_pass 127.0.0.1: 9001; # fastcgi_index index. php; fastcgi_param SCRIPT_FILENAME D:/qq/$ response; include fastcgi_params;} # server_name ready; server_name ready # error_page 404 = 200/empty.gif; error_page 404 = @ notfound ;}}

2. Modify php. ini to support xdebug.

zend_extension = "D:\qzz\trunk\windows\php\ext\php_xdebug-2.2.1-5.4-vc9.dll"xdebug.remote_enable=onxdebug.remote_handler=dbgpxdebug.remote_host=127.0.0.1xdebug.remote_port=9002

3: start nginx. ext
4: Start fastcgi: php-cgi.exe-B 127.0.0.1: 9001
5: You don't have to worry about installing mysql.

Note: After xdebug is completed for a while, the correct version has not been downloaded. In this case, you can copy the source code of your phpinfo file on the webpage, then, go to http://xdebug.org/wizard.phpflood to put the source code in this region for delivery, and the download will be completed automatically at a time.

Original article address: wnpmx configuration note. Thank you for sharing it.

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.