{"id":1908,"date":"2013-11-13T10:20:15","date_gmt":"2013-11-13T02:20:15","guid":{"rendered":"http:\/\/www.huzs.top\/?p=1908"},"modified":"2013-11-13T16:29:46","modified_gmt":"2013-11-13T08:29:46","slug":"appserv%e9%87%8d%e8%a3%85%e7%b3%bb%e7%bb%9f%e5%90%8e%e7%9a%84%e7%bb%bf%e8%89%b2%e5%ae%89%e8%a3%85%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.huzs.top\/?p=1908","title":{"rendered":"\u91cd\u88c5\u7cfb\u7edf\u540e,AppServ\u7684\u7eff\u8272\u5b89\u88c5\u65b9\u6cd5"},"content":{"rendered":"<p>\u56e0\u4e3aAppServ\u5728\u5b89\u88c5\u65f6\u4f1a\u628aphp.ini\u548clibmysql.dll\u653e\u5230C:\\Windows\u3002\u6240\u4ee5\uff0c\u6211\u4eec\u8981\u8bbe\u7f6e\u4f7f\u7528D:\\AppServ\u76ee\u5f55\u3002\u8fd9\u6837\uff0c\u91cd\u88c5\u7cfb\u7edf\u540e\u53ea\u7528\u91cd\u65b0\u5b89\u88c5\u4e00\u6b21\u670d\u52a1\u5373\u53ef\u3002\u975e\u5e38\u65b9\u4fbf\uff01<\/p>\n<p><strong>1\u3001\u914d\u7f6ePHP<\/strong><\/p>\n<pre>notepad++ D:\\AppServ\\php5\\php.ini-dist<\/pre>\n<p>\u53e6\u5b58\u4e3a\uff1a<\/p>\n<pre>D:\\AppServ\\php5\\php.ini<\/pre>\n<p>\u76f4\u63a5\u6dfb\u52a0\u5982\u4e0b\u6269\u5c55\uff08\u9ed8\u8ba4\u5168\u90e8\u90fd\u662f\u5173\u95ed\u7684\uff0c\u67e5\u627e\uff1aDynamic Extensions\uff09\uff1a<\/p>\n<pre><br>extension=php_curl.dll<br>extension=php_gd2.dll<br>extension=php_mbstring.dll<br>extension=php_mcrypt.dll<br>extension=php_mhash.dll<br>extension=php_mysql.dll<br>extension=php_mysqli.dll<br>extension=php_pdo.dll<br>extension=php_pdo_mysql.dll<br>extension=php_pdo_sqlite.dll<br>extension=php_sqlite.dll<br>extension=php_xmlrpc.dll<br>extension=php_zip.dll<\/pre>\n<p>\u4fee\u6539\u6269\u5c55\u76ee\u5f55\uff08\u5fc5\u987b\u4e3a\u7edd\u5bf9\u8def\u5f84\uff09<\/p>\n<pre>extension_dir = \"D:\/AppServ\/php5\/ext\"<\/pre>\n<p><strong>2\u3001\u914d\u7f6eAPACHE\uff08\u67e5\u627ephp5\uff09<\/strong><\/p>\n<pre>notepad++ D:\\AppServ\\Apache2.2\\conf\\httpd.conf<\/pre>\n<p><\/p>\n<pre><br>PHPIniDir \"D:\/AppServ\/php5\/\"<br>LoadFile \"D:\/AppServ\/php5\/libmysql.dll\"<br>LoadModule php5_module \"D:\/AppServ\/php5\/php5apache2_2.dll\"<\/pre>\n<p>\u68c0\u67e5\u4e0b\u662f\u5426\u662f\u4f60\u9700\u8981\u7684\u76ee\u5f55\u5373\u53ef\u3002<\/p>\n<pre>DocumentRoot \"D:\/AppServ\/www\"<\/pre>\n<p><strong>3\u3001\u4e0b\u8f7d\u5e76\u89e3\u538blibmysql.dll\u5230PHP5\u76ee\u5f55<\/strong><\/p>\n<pre>http:\/\/museum.php.net\/php5\/php-5.2.6-Win32.zip<br>D:\/AppServ\/php5\/<\/pre>\n<p><strong>4\u3001\u5b89\u88c5APACHE\uff0cWin7\u4ee5\u4e0a\u7cfb\u7edf\u8981\u4ee5\u7ba1\u7406\u5458\u65b9\u5f0f\u8fd0\u884c\u3002<\/strong><\/p>\n<pre>D:\\AppServ\\Apache2.2\\bin\\httpd -k install -n \"Apache2.2\"<br>net start Apache2.2<\/pre>\n<p><strong>5\u3001\u5b89\u88c5mysql\uff0cWin7\u4ee5\u4e0a\u7cfb\u7edf\u8981\u4ee5\u7ba1\u7406\u5458\u65b9\u5f0f\u8fd0\u884c\u3002<\/strong><\/p>\n<pre>D:\\AppServ\\MySQL\\bin\\mysqld-nt --install mysql --defaults-file=D:\\AppServ\\MySQL\\my.ini<br>net start MySQL<\/pre>\n<p><strong>6\u3001\u67e5\u770bphpinfo\u4fe1\u606f\u3002\u770bmysql\u6269\u5c55\u662f\u5426\u6210\u529f\u88c5\u8f7d\u3002<\/strong><\/p>\n<p><strong>7\u3001\u518d\u6b21\u91cd\u88c5\u7cfb\u7edf\u540e\uff0c\u53ea\u9700\u8981\u5b89\u88c5APACHE\u548cMYSQL\u670d\u52a1\u5373\u53ef\u3002<\/strong>\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff08\u9700\u8981\u8d85\u7ba1\u547d\u4ee4\u884c\uff09\uff1a<\/p>\n<pre>D:\\AppServ\\Apache2.2\\bin\\httpd -k install -n \"Apache2.2\"<br>net start Apache2.2<br>D:\\AppServ\\MySQL\\bin\\mysqld-nt --install mysql --defaults-file=D:\\AppServ\\MySQL\\my.ini<br>net start MySQL<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u56e0\u4e3aAppServ\u5728\u5b89\u88c5\u65f6\u4f1a\u628aphp.ini\u548clibmysql.dll\u653e\u5230C:\\Windows\u3002\u6240\u4ee5\uff0c\u6211\u4eec\u8981\u8bbe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1908","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts\/1908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1908"}],"version-history":[{"count":1,"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts\/1908\/revisions"}],"predecessor-version":[{"id":1920,"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts\/1908\/revisions\/1920"}],"wp:attachment":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}