Wamp Construction-Personal notes

Source: Internet
Author: User

#wamp的配置 # #选项1. Use Apache on the next TS 2. Either Nginx or IIS uses the NTS 3. PHP win the following select Zip or MSI # #apache的配置1. Configure Apache path ' ServerRoot ' C:/wamp/apache24 ' 2. Listening port ' Listen 80 ' 3. Configuring PHP () Load Php5apache2_4.dllloadmodule php5_module "C:/wamp/php/php5apache2_4.dll" AddType application/x-httpd-php. php. Phpsphpinidir "C:/wamp/php/php.ini" 4. Default page settings <ifmodule dir_module> directoryindex index.php a.html index.htm L </IfModule> ' 5. Virtual host configuration (configurable in extra/httpd-vhosts.conf) Hostsinclude conf/extra/ Configuration in httpd-vhosts.conf6.httpd-vhosts.conf <virtualhost *:80> ServerAdmin [email protected] DocumentRoot "C       :/wamp/apache24/htdocs/a "ServerName 127.0.0.2<directory" c:/wamp/apache24/htdocs/a "> Options None #不容许访问空列表 allowoverride None #不容许外部文件更改 Require all granted #用户具目录所有权限 </directory></virtualhost>7. Build Apache above Services (Start the Apache2.4 service in the Manage-by-computer service) CD WAMPCD apache24cd binhttpd-k install# #php的配置1. Expand the Library directory load in extension_dir = "c:/ Wamp/php/ext "2. Opening of the extension library (extens)Configuration of the Ion=php_pdo.dllextension=php_pdo_sqlite.dllextension=php_mysql.dllextension=php_mysqli.dll3.session 4. Time zone configuration ' Date.timezone =PRC ' # #mysql的配置1. Configure according to the Setup Wizard 2. Build data/data into physical MySQL data 3.j build Data/innodb put My.ini profile into important file 4.mysql # #      Nginx configuration ' C:\wamp\nginx-1.7.10\conf\nginx.conf ' 1. Configure server location ~ \.php$ {root html;      Fastcgi_pass 127.0.0.1:9000;      Fastcgi_index index.php;      Fastcgi_param script_filename $document _root$fastcgi_script_name;      Include Fastcgi_params; }2.CMD.EXECD wamp\phpphp-cgi.exe-b 127.0.0.1:9000-c c:\wamp\php\php.ini3. Start Nginx.execd Wamp\ngixnginx.exenginx.exe -S stopnginx.exe-s reload4. Self-starting > runhiddenconsole.exe> > Start.bat> > Stop.bat@echo offset php_fcgi_max_ Requests=1000echo starting PHP FastCGI ... Runhiddenconsole c:/wamp/php/php-cgi.exe-b 127.0.0.1:9000-c c:/wamp/php/php.ini echo Starting nginx ... Runhiddenconsole c:/wamp/nginx/nginx.exe-p c:/wamp/nginx# #IIS configuration IIS is a component of Windows that can be installed and not uninstalled 1. Control Panel-"Programs and Functions 2." Open orTurn off Windows feature 2. Internet Information Services-internet information Server3. Web management Tools->iis Management Console 4. World Wide Web Services, select all 5. Web Services--application development features > Cgi> > ISAPI extensions > > ISAPI Filters # # #计算机 Management Services and Applications->iis management 1. Handler mappings, add module mappings-Request path: *.php-module: fastcgimodule-executable: ' C:\wamp\php\php-cgi.exe '-Name: Pick 2. Address Rewriting-install isapi_rewrite software # #memcache [Http://pecl.php.net/package/memcache/3.0.8/windows] (http://pecl.php.net/  package/memcache/3.0.8/windows) 1. Download ' Php_memcache.dll ' and load to php.ini ' Extension=php_memcache.dll ' 2. Build memcached Memecached.exe (server side) 3.cmd.exe (build service) CD wamp/memcachememecache.exe-d INSTALL4. Test Memcache Success $mem = new Memcache (); $ Mem->connect (' localhost ', ' 11211 '), $mem->set (' key ', ' 222 '), Echo $mem, get (' key ');

  

Wamp Construction-Personal notes

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.