{"id":66929,"date":"2014-10-24T23:27:36","date_gmt":"2014-10-24T15:27:36","guid":{"rendered":"http:\/\/www.xiaoyebailong.com\/?p=66929"},"modified":"2014-10-24T23:30:59","modified_gmt":"2014-10-24T15:30:59","slug":"iis%e4%b8%ad%e5%ae%89%e8%a3%85php5-2%e4%b8%8ephp5-4%e9%85%8d%e7%bd%ae%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2014\/10\/24\/66929.htm","title":{"rendered":"IIS\u4e2d\u5b89\u88c5PHP5.2\u4e0ephp5.4\u914d\u7f6e\u65b9\u6cd5"},"content":{"rendered":"<div>\u5982\u679c\u505a\u4e86\u4e00\u6bb5\u65f6\u95f4\u8fd0\u7ef4\u7684\u670b\u53cb\u90fd\u662f\u77e5\u9053iis\u914d\u7f6ephp\u65f6\u6211\u4eec\u5bf9\u4e8ephp\u7248\u672c\u6709\u8981\u6c42\uff0c\u5982\u679c\u662fphp5.2\u7248\u672c\u53ef\u4f7f\u7528ISAPI\u6765\u64cd\u4f5c\uff0c\u5982\u679c\u662fphp5.4\u5c31\u9700\u8981\u4f7f\u7528FastCGI\u6765\u8ba9iis\u652f\u6301php\u4e86\uff0c\u4e0b\u9762\u6211\u6765\u4ecb\u7ecd\u4e00\u4e0b\u3002<\/div>\n<div><\/div>\n<p><strong>IIS\u4e2d\u5b89\u88c5PHP5.2\u914d\u7f6e<\/strong><\/p>\n<p>\u9996\u5148\u8981\u4e0b\u8f7dPHP\u5b89\u88c5\u6587\u4ef6\u3002<br \/>\n\u4e0b\u8f7d\u5730\u5740\uff1a<a rel=\"nofollow\" href=\"http:\/\/windows.php.net\/download\/\" target=\"_blank\">http:\/\/windows.php.net\/download\/<\/a><\/p>\n<p>\u6211\u4eec\u8fd9\u91cc\u4e0b\u8f7dPHP 5.2 (5.2.14)\u7248\u672c\uff0c\u56e0\u4e3aPHP 5.3 (5.3.3)\u5df2\u4e0d\u652f\u6301I<a rel=\"nofollow\" href=\"http:\/\/www.111cn.net\/list-183\/\" target=\"_blank\">SAP<\/a>I\uff0c\u9700\u8981\u53e6\u5916\u5b89\u88c5FastCGI\u3002<\/p>\n<p>\u6211\u4eec\u8fd9\u91cc\u4ee5ISAPI\u4e3a\u4f8b\uff0c\u6240\u4ee5\u4e0b\u8f7dPHP 5.2 (5.2.14)\u7248\u672c\u3002<\/p>\n<p>\u5728\u4e0b\u8f7d\u65f6\u8fd8\u5206VC6 x86 Non Thread Safe \u548c VC6 x86 Thread Safe\uff0c\u4e00\u4e2a\u662f\u975e\u7ebf\u7a0b\u4fdd\u62a4\uff0c\u4e00\u4e2a\u662f\u7ebf\u7a0b\u4fdd\u62a4\u3002\u7531\u4e8e\u6211\u4eec\u7528IIS\u7684ISAPI\uff0c\u662f\u591a\u7ebf\u7a0b\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u63a8\u8350\u4f7f\u7528VC6 x86 Thread Safe\u3002<\/p>\n<p>\u5728\u4e0b\u8f7d\u7684\u7248\u672c\u91cc\uff0c\u53c8\u6709\u4e09\u4e2a\uff0c\u5475\u5475\uff0c\uff0c\u6709\u7684\u4eba\u770b\u5230\u8fd9\u91cc\u90fd\u6655\u4e86\uff0c\u600e\u4e48\u8fd9\u4e48\u591a\u554a\u3002\u4e0d\u77e5\u9053\u9009\u54ea\u4e2a\u4e86\u3002ZIP\u662f\u4e00\u4e2a\u538b\u7f29\u6587\u4ef6\uff0c\u89e3\u538b\u540e\uff0c\u81ea\u5df1\u624b\u52a8\u5b89\u88c5\uff1bInstaller\u662fmsi\u6587\u4ef6\uff0c\u76f4\u63a5\u53cc\u51fb\u5b89\u88c5\uff0c\u8fd9\u91cc\u5c31\u4e0d\u591a\u8bf4\u8fd9\u4e2a\u4e86\u3002\u6211\u4eec\u6765\u8bb2\u624b\u52a8\u5b89\u88c5\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u6574\u4e2a\u8fc7\u7a0b<\/p>\n<p>1.\u76f4\u63a5\u4e0b\u8f7dZIP\u89e3\u538b\u7684D\u76d8\u7684PHP\u4e0b\u3002<\/p>\n<p><img decoding=\"async\" class=\"\" src=\"\" alt=\"IIS\u4e2d\u5b89\u88c5PHP5.2\" data-img-idx=\"0\" data-src=\"\" \/><\/p>\n<p>2.\u627e\u5230php.ini-dist\u6587\u4ef6\uff0c\u590d\u5236\u5230c:windows\u4e0b\uff0c\u5e76\u6539\u540d\u4e3aphp.ini\uff0c\u540c\u65f6\u590d\u5236 php5ts.dll\u548c libmysql.dll\u5230 C:Windowssystem32 \u4e2d\u3002<\/p>\n<p>3.\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u521a\u6539\u540d\u7684php.ini\u6587\u4ef6\uff0c\u627e\u5230extension_dir = &#8220;.\/&#8221;\uff0c\u6539\u6210extension_dir = &#8220;D:phpext&#8221;\u3002<\/p>\n<p>4.\u5728\u8bb0\u4e8b\u672c\u4e2d\u67e5\u627e\u201c;extension=php_mysql.dll\u201d\u548c\u201c;extension=php_gd2.dll\u201d\uff0c\u7136\u540e\u628a\u524d\u9762\u7684\u201c;\u201d\u53bb\u6389\uff0c\u5373\u628a ;extension=php_mysql.dll \u6539\u4e3a extension=php_mysql.dll<br \/>\n\u628a\u4ee5\u4e0b\u5185\u5bb9\u524d\u9762\u7684;\u53bb\u6389<br \/>\n;extension=php_mbstring.dll<br \/>\n;extension=php_gd2.dll<br \/>\n;extension=php_dbase.dll<br \/>\n;extension=php_ldap.dll<\/p>\n<p>5.\u627e\u5230 ;session.save_path = &#8220;\/tmp&#8221; \u5c06&#8217;;&#8217;\u53bb\u6389.\u8bbe\u7f6e\u4f60\u4fdd\u5b58session\u7684\u76ee\u5f55\u3002<br \/>\n\u5982\uff1asession.save_path = &#8220;C:WindowsTemp&#8221;;<\/p>\n<p>6.\u627e\u5230 register_globals \u5c06 Off \u6539\u4e3a On<\/p>\n<p>7.\u627e\u5230 allow_url_<a rel=\"nofollow\" href=\"http:\/\/www.111cn.net\/tags.php\/include\/\" target=\"_blank\">include<\/a>\u00a0\u5c06 Off \u6539\u4e3a On<\/p>\n<p>8.\u4fdd\u5b58 php.ini<\/p>\n<p>\u4e0b\u9762\u5c31\u662fIIS\u91cc\u7684\u8bbe\u8ba1\u4e86\u3002<\/p>\n<p>1.\u5148\u6dfb\u52a0PHP\u6269\u5c55\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u5728IIS\u91cc\u7684\u201cWEB\u670d\u52a1\u6269\u5c55\u201d\u4e2d\uff0c\u53f3\u8fb9\u7684\u7a7a\u767d\u7684\u5730\u65b9\u53f3\u51fb\u5148\u7b2c\u4e00\u4e2a\u6dfb\u52a0\uff0c\u6269\u5c55\u540d\u662fphp,\u8981\u6c42\u7684\u6587\u4ef6 \u9009\u62e9d:phpphp5isapi.dll\uff0c\u4e0b\u9762\u6709\u4e2a\u201c\u8bbe\u7f6e\u6269\u5c55\u72b6\u6001\u4e3a\u5141\u8bb8\u201d\u4e5f\u9009\u4e0a\u3002\u70b9\u786e\u5b9a<\/p>\n<p><img decoding=\"async\" class=\"\" src=\"\" alt=\"IIS\u4e2d\u5b89\u88c5PHP5.2\" data-img-idx=\"1\" data-src=\"\" \/><\/p>\n<p>2.\u518d\u5728IIS\u91cc\u65b0\u5efa\u4e00\u4e2a\u7f51\u7ad9\uff0c\u7136\u540e\u5728ISAPI\u7b5b\u9009\u5668\u91cc\u6dfb\u52a0\uff0c\u7b5b\u9009\u5668\u540d\u79f0\u586bPHP,\u53ef\u6267\u884c\u6587\u4ef6\u9009d:phpphp5isapi.dll\uff0c\u7136\u540e\u786e\u5b9a<\/p>\n<p><img decoding=\"async\" class=\"\" src=\"\" alt=\"IIS\u4e2d\u5b89\u88c5PHP5.2\" data-img-idx=\"2\" data-src=\"\" \/><\/p>\n<p>3.\u6700\u540e\u5728\u4e3b\u76ee\u5f55\u4e0b\u9762\u3002\u70b9\u914d\u7f6e\uff0c\u518d\u63d2\u5165\u3002\u53ef\u6267\u884c\u6587\u4ef6\u9009d:phpphp5isapi.dll\uff0c\u6269\u5c55\u540d\u5199 .php,\u5176\u4ed6\u4e0d\u53d8\uff0c\u786e\u5b9a\u3002<\/p>\n<p><img decoding=\"async\" class=\"\" src=\"\" alt=\"IIS\u4e2d\u5b89\u88c5PHP5.2\" data-img-idx=\"3\" data-src=\"\" \/><\/p>\n<p>4.\u914d\u7f6e\u597d\u4e86<\/p>\n<p><strong>IIS\u4e2d\u5b89\u88c5PHP5.4\u914d\u7f6e<\/strong><\/p>\n<p>\u4e0b\u8f7d FastCGI 1.5 for\u00a0<acronym title=\"Internet Information Services\">IIS<\/acronym>\u00a0x86 \/ x64\uff0c\u6dfb\u52a0fastcgi\u6620\u5c04 <a rel=\"nofollow\" href=\"http:\/\/www.iis.net\/download\/FastCGI\" target=\"_blank\">http:\/\/www.iis.net\/download\/FastCGI<\/a><\/p>\n<p><img decoding=\"async\" class=\"\" title=\"php8.jpg\" src=\"\" alt=\"php8.jpg\" data-img-idx=\"4\" data-src=\"\" \/><br \/>\n\u7f16\u8f91C:WINDOWSsystem32inetsrvfcgiext.ini\u5185\u5bb9\u5982\u4e0b<\/p>\n<div><span style=\"text-decoration: underline;\">\u590d\u5236\u4ee3\u7801<\/span>\u00a0\u4ee3\u7801\u5982\u4e0b:<\/div>\n<div>\n[Types]<br \/>\nphp=PHP<\/p>\n<p>[PHP]<br \/>\nExePath=D:phpphp-cgi.exe<br \/>\nInstanceMaxRequests=10000<br \/>\nEnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000<\/p><\/div>\n<p>d:phpphp.ini\u4e3b\u8981\u4fee\u6539\u70b9\u5982\u4e0b<\/p>\n<div>\noutput_buffering = On<br \/>\ndisable_functions = system,passthru,shell_exec,exec,popen,proc_open<br \/>\nenable_dl = Off<\/p>\n<p>upload_tmp_dir = &#8220;D:\/tmp\/uploadtemp\/&#8221;<br \/>\nsession.save_path = &#8220;d:\/tmp\/sessiondata\/&#8221;<br \/>\ndate.timezone = &#8220;Etc\/GMT-8&#8221; ;\u8868\u793a\u7684\u662f GMT+8<br \/>\nmbstring.language = Neutral ; Set default language to Neutral(UTF-8) (default)<br \/>\nmbstring.internal_encoding = UTF-8 ; Set internal encoding to UTF-8<\/p>\n<p>cgi.force_redirect = 0<br \/>\ncgi.fix_pathinfo = 1<br \/>\nfastcgi.impersonate = 1<\/p><\/div>\n<p>op\u52a0\u901f\u5668, zend\u4f18\u5316\u5668\u53c2\u8003\u914d\u7f6e, \u5728\u6b63\u5f0f\u4f7f\u7528\u65f6\u4e0d\u8981\u5f00\u542fxdebug\u3002\u6ce8\u610f\u5c06\u8def\u5f84\u4fee\u6539\u4e3a\u6b63\u786e\u7684\u3002<\/p>\n<div>\n[eaccelerator]<br \/>\n;zend_extension=&#8221;\/APM\/ext\/eAccelerator_v0_9_6_for_v5_2_13-VC6\/eAccelerator.dll&#8221;<br \/>\n;zend_extension=&#8221;\/APM\/ext\/eAccelerator_v1_0_svn412_for_v5_2_13-VC6\/eAccelerator.dll&#8221;<br \/>\neaccelerator.shm_size=&#8221;16&#8243;<br \/>\neaccelerator.cache_dir=&#8221;\/tmp\/eaccelerator&#8221;<br \/>\neaccelerator.enable=&#8221;1&#8243;<br \/>\neaccelerator.optimizer=&#8221;1&#8243;<br \/>\neaccelerator.check_mtime=&#8221;1&#8243;<br \/>\neaccelerator.debug=&#8221;0&#8243;<br \/>\n;eaccelerator.log_file=&#8221;\/var\/log\/httpd\/eaccelerator_log&#8221;<br \/>\neaccelerator.filter=&#8221;&#8221;<br \/>\neaccelerator.shm_max=&#8221;0&#8243;<br \/>\neaccelerator.shm_ttl=&#8221;300&#8243;<br \/>\neaccelerator.shm_prune_period=&#8221;0&#8243;<br \/>\neaccelerator.shm_only=&#8221;0&#8243;<br \/>\neaccelerator.compress=&#8221;1&#8243;<br \/>\neaccelerator.compress_level=&#8221;9&#8243;<\/p>\n<p>[Zend]<br \/>\nzend_optimizer.optimization_level=15<br \/>\nzend_optimizer.encoder_loader=0<br \/>\n;zend_extension_ts=&#8221;\/APM\/ext\/ZendOptimizer-3.3.0\/lib\/Optimizer-3.3.0\/php-5.2.x\/ZendOptimizer.dll&#8221;<br \/>\n;zend_extension=&#8221;\/APM\/ext\/ZendOptimizer_nts.dll&#8221;<br \/>\n;zend_extension=&#8221;\/APM\/ext\/ZendOptimizerPlus.dll&#8221;<\/p>\n<p>; \u4e0b\u9762\u662f\u4f7f\u7528ZendExtensionManager.dll\u7684\u53c2\u8003\u914d\u7f6e<br \/>\n;zend_extension_manager.optimizer_ts=&#8221;\/APM\/Zend\/ZendOptimizer-3.3.0\/lib\/Optimizer-3.3.0&#8243;<br \/>\n;zend_extension_ts=&#8221;\/APM\/Zend\/ZendOptimizer-3.3.0\/lib\/ZendExtensionManager.dll&#8221;<br \/>\n;zend_extension_manager.debug_server_ts=&#8221;\/APM\/Zend\/ZendOptimizer-3.3.0\/lib\/ZendDebugger-5.2.13-cygwin_nt-i386&#8243;<br \/>\n;zend_debugger.expose_remotely=always<br \/>\n;zend_debugger.allow_hosts=127.0.0.1\/32<br \/>\n;zend_debugger.allow_tunnel=127.0.0.1\/32<br \/>\n[ZendDebugger]<br \/>\n; \u653e\u5230\u540e\u8fb9\u53ef\u4ee5\u548czend_optimizer\u540c\u65f6\u52a0\u8f7d<br \/>\n;zend_extension_ts=&#8221;\/APM\/ext\/ZendDebugger-5.2.15RC1-cygwin_nt-i386\/php-5.2.x\/ZendDebugger.dll&#8221;<\/p>\n<p>[xcache-common]<br \/>\n;zend_extension=&#8221;D:\/APM\/ext\/XCache-1.3.0-php-5.2.10-nts-Win32-VC6-x86\/php_xcache.dll&#8221;<br \/>\n; extension = php_xcache.dll<\/p>\n<p>[xcache.admin]<br \/>\nxcache.admin.enable_auth = Off<br \/>\nxcache.admin.user = &#8220;mOo&#8221;<br \/>\n; xcache.admin.pass = md5($\u60a8\u7684\u5bc6\u7801)<br \/>\nxcache.admin.pass = &#8220;&#8221;<\/p>\n<p>[xcache]<br \/>\n; \u8fd9\u91cc\u7684\u591a\u6570\u9009\u9879\u4ec5\u5728 ini \u91cc\u53ef\u4ee5\u4fee\u6539, \u8fd9\u91cc\u5217\u51fa\u7684\u90fd\u662f\u9ed8\u8ba4\u503c, \u9664\u975e\u53e6\u5916\u8bf4\u660e<br \/>\n;\u00a0<a rel=\"nofollow\" href=\"http:\/\/www.111cn.net\/tags.php\/select\/\" target=\"_blank\">select<\/a>\u00a0low level shm\/allocator scheme implemenation<br \/>\nxcache.shm_scheme = &#8220;mmap&#8221;<br \/>\n; \u7981\u7528: xcache.size=0<br \/>\n; \u542f\u7528: xcache.size=64M \u4e4b\u7c7b (\u4efb\u610f&gt;0\u7684\u503c) \u540c\u65f6\u8bf7\u6ce8\u610f\u60a8\u7684\u7cfb\u7edf mmap \u4e0a\u9650<br \/>\nxcache.size = 0<br \/>\n; \u5efa\u8bae\u8bbe\u7f6e\u4e3a cpu \u6570 (cat \/proc\/cpuinfo |grep -c processor)<br \/>\nxcache.count = 1<br \/>\n; \u53ea\u662f\u4e2a\u53c2\u8003\u503c, \u60a8\u53ef\u4ee5\u653e\u5fc3\u5730\u5b58\u50a8\u591a\u4e8e\u6b64\u6570\u91cf\u7684\u9879\u76ee(php\u811a\u672c\/\u53d8\u91cf)<br \/>\nxcache.slots = 8K<br \/>\n; \u7f13\u5b58\u9879\u76ee\u7684 ttl, 0=\u6c38\u4e45<br \/>\nxcache.ttl = 0<br \/>\n; \u626b\u63cf\u8fc7\u671f\u9879\u76ee\u7684\u65f6\u95f4\u95f4\u9694, 0=\u4e0d\u626b\u63cf, \u5176\u4ed6\u503c\u4ee5\u79d2\u4e3a\u5355\u4f4d<br \/>\nxcache.gc_interval = 60<\/p>\n<p>; \u540c\u4e0a, \u53ea\u662f\u9488\u5bf9\u53d8\u91cf\u7f13\u5b58\u8bbe\u7f6e<br \/>\nxcache.var_size = 1M<br \/>\nxcache.var_count = 1<br \/>\nxcache.var_slots = 8K<br \/>\n; \u9ed8\u8ba4, \u5141\u8bb8 ini_set()<br \/>\nxcache.var_ttl = 0<br \/>\n; \u6700\u5927ttl\u503c<br \/>\nxcache.var_maxttl = 0<br \/>\nxcache.var_gc_interval = 300<\/p>\n<p>; \u4ec5\u6d4b\u8bd5\u7528<br \/>\nxcache.test = Off<br \/>\n; \/dev\/zero \u65f6\u65e0\u6548<br \/>\nxcache.readonly_protection = Off<br \/>\n; \u5bf9\u4e8e *nix \u7cfb\u7edf, xcache.mmap_path \u662f\u6587\u4ef6\u8def\u5f84\u800c\u4e0d\u662f\u76ee\u5f55, (\u53ef\u4ee5\u4e0d\u5b58\u5728 \u4f46\u662f\u5fc5\u987b\u80fd\u521b\u5efa).<br \/>\n; \u5982\u679c\u60a8\u671f\u671b\u542f\u7528 ReadonlyProtection, \u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c &#8220;\/tmp\/xcache&#8221;<br \/>\n; 2 \u4e2a php \u7ec4\u4e0d\u4f1a\u5171\u4eab\u540c\u4e00\u4e2a \/tmp\/xcache<br \/>\n; \u5bf9\u4e8e Win32 \u7cfb\u7edf, xcache.mmap_path=\u533f\u540dMAP\u540d\u5b57, \u4e0d\u662f\u6587\u4ef6\u8def\u5f84. \u5efa\u8bae\u4f7f\u7528 XCache \u5b57\u773c\u907f\u514d\u8ddf\u5176\u4ed6\u8f6f\u4ef6\u51b2\u7a81<br \/>\nxcache.mmap_path = &#8220;XCache&#8221;<\/p>\n<p>; \u4ec5\u7528\u4e8e *nix \u7cfb\u7edf<br \/>\n; \u8bbe\u7f6e\u4e3a\u7a7a(\u7981\u7528) \u6216\u8005\u7c7b\u4f3c &#8220;\/tmp\/phpcore\/&#8221;<br \/>\n; \u6ce8\u610f\u8be5\u76ee\u5f55\u5e94\u8be5\u80fd\u88ab php \u5199\u5165\u6587\u4ef6 (\u8ddf open_basedir \u65e0\u5173)<br \/>\nxcache.coredump_directory = &#8220;&#8221;<\/p>\n<p>xcache.cacher = On<br \/>\nxcache.stat = On<br \/>\nxcache.optimizer = Off<\/p>\n<p>[xcache.coverager]<\/p>\n<p>; \u5982\u679c xcache.coveragedump_directory \u8bbe\u7f6e\u4e3a\u7a7a\u5219\u672c\u8bbe\u7f6e\u81ea\u52a8\u4e3a Off<br \/>\nxcache.coverager = Off<\/p>\n<p>; \u8bf7\u786e\u4fdd\u672c\u76ee\u5f55\u80fd\u88ab coverage viewer \u811a\u672c\u8bfb\u53d6 (\u6ce8\u610f open_basedir)<br \/>\n; \u4f9d\u8d56\u4e8e xcache.coverager=On<br \/>\nxcache.coveragedump_directory = &#8220;&#8221;<\/p>\n<p>[Xdebug]<br \/>\nxdebug.var_display_max_depth = 10<br \/>\n;xdebug.remote_autostart = 1<br \/>\n;xdebug.remote_enable=1<br \/>\n;xdebug.remote_handler=dbgp<br \/>\n;xdebug.remote_host=127.0.0.1<br \/>\n;xdebug.remote_mode=req<br \/>\n;xdebug.idekey=default<br \/>\n;xdebug.remote_log=&#8221;\/xdebug.log&#8221;<br \/>\n;xdebug.remote_port=9000<br \/>\nxdebug.auto_trace=off<br \/>\n;xdebug.collect_params=on<br \/>\n;xdebug.collect_return=on<br \/>\nxdebug.trace_output_dir=&#8221;\/tmp\/xdebug&#8221;<br \/>\nxdebug.profiler_enable=off<br \/>\nxdebug.profiler_output_dir=&#8221;\/tmp\/xdebug&#8221;<br \/>\n;zend_extension_ts=&#8221;\/APM\/ext\/xdebug\/php_xdebug-2.0.5-5.2.dll&#8221;<br \/>\n;zend_extension=&#8221;\/APM\/ext\/xdebug\/php_xdebug-2.0.5-5.2-nts.dll&#8221;<br \/>\nzend_extension=&#8221;\/APM\/ext\/xdebug\/php_xdebug-2.1.0beta3-5.2-vc6-nts.dll&#8221;<\/p><\/div>\n<p>\u4e0b\u9762\u662f\u5907\u7528\u65b9\u6848, \u914d\u7f6ePHP\u73af\u5883<\/p>\n<div><span style=\"text-decoration: underline;\">\u590d\u5236\u4ee3\u7801<\/span>\u00a0\u4ee3\u7801\u5982\u4e0b:<\/div>\n<div>\nISAPI\u65b9\u5f0f<br \/>\n\u4e0b\u8f7dphp\u89e3\u538b\u5230d:php\u8bbe\u7f6e\u6743\u9650administrators\u548csystem\u5b8c\u5168\uff0cevery\u8bfb\u53d6\u8fd0\u884c\u3002<br \/>\n\u6dfb\u52a0\u73af\u5883\u53d8\u91cfPHPRC=D:PHP\u8bbe\u7f6e\u52a0\u8f7dphp.ini\u6587\u4ef6\u8def\u5f84<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"\" title=\"php1.jpg\" src=\"\" alt=\"php1.jpg\" data-img-idx=\"5\" data-src=\"\" \/><\/p>\n<p>path\u52a0\u5165d:php\u4f7f\u7528\u76f8\u5173\u52a8\u6001\u94fe\u63a5\u5e93<\/p>\n<p><img decoding=\"async\" class=\"\" title=\"php2.jpg\" src=\"\" alt=\"php2.jpg\" data-img-idx=\"6\" data-src=\"\" \/><\/p>\n<p><img decoding=\"async\" class=\"\" title=\"php3.jpg\" src=\"\" alt=\"php3.jpg\" data-img-idx=\"7\" data-src=\"\" \/><\/p>\n<p><img decoding=\"async\" class=\"\" title=\"php4.jpg\" src=\"\" alt=\"php4.jpg\" data-img-idx=\"8\" data-src=\"\" \/><\/p>\n<p>\u6dfb\u52a0\u6269\u5c55\uff0c\u5e76\u8bbe\u7f6e\u4e3a\u5141\u8bb8\u3002<\/p>\n<p><img decoding=\"async\" class=\"\" title=\"php5.jpg\" src=\"\" alt=\"php5.jpg\" data-img-idx=\"9\" data-src=\"\" \/><\/p>\n<p><img decoding=\"async\" class=\"\" title=\"php6.jpg\" src=\"\" alt=\"php6.jpg\" data-img-idx=\"10\" data-src=\"\" \/><\/p>\n<p>\u6dfb\u52a0php\u6620\u5c04<\/p>\n<p><img decoding=\"async\" class=\"\" title=\"php7.jpg\" src=\"\" alt=\"php7.jpg\" data-img-idx=\"11\" data-src=\"\" \/><\/p>\n<p>\u7f16\u8f91php.ini\u6587\u4ef6\u91cd\u542fIIS\u3002\u5b8c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u505a\u4e86\u4e00\u6bb5\u65f6\u95f4\u8fd0\u7ef4\u7684\u670b\u53cb\u90fd\u662f\u77e5\u9053iis\u914d\u7f6ephp\u65f6\u6211\u4eec\u5bf9\u4e8ephp\u7248\u672c\u6709\u8981\u6c42\uff0c\u5982\u679c\u662fphp5.2\u7248\u672c\u53ef\u4f7f\u7528ISAPI\u6765\u64cd\u4f5c\uff0c\u5982\u679c\u662fphp5.4\u5c31\u9700\u8981\u4f7f\u7528FastCGI\u6765\u8ba9iis\u652f\u6301php\u4e86\uff0c\u4e0b\u9762\u6211\u6765\u4ecb\u7ecd\u4e00\u4e0b\u3002 IIS\u4e2d\u5b89\u88c5PHP5.2\u914d\u7f6e &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,7],"tags":[25],"topic":[],"class_list":["post-66929","post","type-post","status-publish","format-standard","hentry","category-technology","category-server","tag-php"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/66929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=66929"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/66929\/revisions"}],"predecessor-version":[{"id":66942,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/66929\/revisions\/66942"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=66929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=66929"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=66929"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=66929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}