{"id":53873,"date":"2024-10-09T14:59:22","date_gmt":"2024-10-09T06:59:22","guid":{"rendered":"https:\/\/server.hk\/cnblog\/53873\/"},"modified":"2024-10-09T14:59:22","modified_gmt":"2024-10-09T06:59:22","slug":"win2008-iis-7-0php%e3%80%81mysql%e3%80%81zend%e3%80%81phpmyadmin-%e9%85%8d%e7%bd%ae%e5%9c%96%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/53873\/","title":{"rendered":"Win2008 IIS 7.0+PHP\u3001MySQL\u3001Zend\u3001phpMyAdmin \u914d\u7f6e\u5716\u89e3"},"content":{"rendered":"<h1 id=\"win2008-iis-7-0php%e3%80%81mysql%e3%80%81zend%e3%80%81phpmyadmin-%e9%85%8d%e7%bd%ae%e5%9c%96%e8%a7%a3-EfrbyxGfYL\">Win2008 IIS 7.0+PHP\u3001MySQL\u3001Zend\u3001phpMyAdmin \u914d\u7f6e\u5716\u89e3<\/h1>\n<p>\u5728\u7576\u4eca\u7684\u7db2\u7d61\u74b0\u5883\u4e2d\uff0c\u642d\u5efa\u4e00\u500b\u7a69\u5b9a\u4e14\u9ad8\u6548\u7684\u7db2\u7ad9\u662f\u6bcf\u500b\u958b\u767c\u8005\u7684\u76ee\u6a19\u3002Windows Server 2008\uff08Win2008\uff09\u642d\u914dIIS 7.0\u3001PHP\u3001MySQL\u3001Zend\u548cphpMyAdmin\u7684\u7d44\u5408\uff0c\u80fd\u5920\u70ba\u958b\u767c\u8005\u63d0\u4f9b\u4e00\u500b\u5f37\u5927\u7684\u5e73\u53f0\u3002\u672c\u6587\u5c07\u8a73\u7d30\u4ecb\u7d39\u5982\u4f55\u5728Win2008\u4e0a\u914d\u7f6e\u9019\u4e9b\u7d44\u4ef6\uff0c\u4e26\u63d0\u4f9b\u76f8\u61c9\u7684\u5716\u89e3\u548c\u6b65\u9a5f\u3002<\/p>\n<h2 id=\"%e4%b8%80%e3%80%81%e5%ae%89%e8%a3%9diis-7-0-EfrbyxGfYL\">\u4e00\u3001\u5b89\u88ddIIS 7.0<\/h2>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5728Windows Server 2008\u4e0a\u5b89\u88ddIIS 7.0\u3002\u4ee5\u4e0b\u662f\u5b89\u88dd\u6b65\u9a5f\uff1a<\/p>\n<ol>\n<li>\u6253\u958b\u201c\u63a7\u5236\u9762\u677f\u201d\uff0c\u9078\u64c7\u201c\u7a0b\u5e8f\u548c\u529f\u80fd\u201d\u3002<\/li>\n<li>\u9ede\u64ca\u201c\u555f\u7528\u6216\u95dc\u9589Windows\u529f\u80fd\u201d\u3002<\/li>\n<li>\u5728\u5f48\u51fa\u7684\u7a97\u53e3\u4e2d\uff0c\u627e\u5230\u201cInternet Information Services\u201d\uff0c\u52fe\u9078\u5b83\u53ca\u5176\u5b50\u9805\u76ee\u3002<\/li>\n<li>\u9ede\u64ca\u201c\u78ba\u5b9a\u201d\uff0c\u7cfb\u7d71\u5c07\u81ea\u52d5\u5b89\u88ddIIS 7.0\u3002<\/li>\n<\/ol>\n<h2 id=\"%e4%ba%8c%e3%80%81%e5%ae%89%e8%a3%9dphp-EfrbyxGfYL\">\u4e8c\u3001\u5b89\u88ddPHP<\/h2>\n<p>\u63a5\u4e0b\u4f86\uff0c\u60a8\u9700\u8981\u5b89\u88ddPHP\u3002\u53ef\u4ee5\u5f9ePHP\u7684\u5b98\u65b9\u7db2\u7ad9\u4e0b\u8f09\u6700\u65b0\u7248\u672c\u7684PHP\u3002\u4ee5\u4e0b\u662f\u5b89\u88dd\u6b65\u9a5f\uff1a<\/p>\n<ol>\n<li>\u4e0b\u8f09PHP\u7684Windows\u7248\u672c\uff0c\u89e3\u58d3\u7e2e\u5230C:PHP\u76ee\u9304\u3002<\/li>\n<li>\u5728C:PHP\u4e2d\u627e\u5230php.ini-development\uff0c\u5c07\u5176\u8907\u88fd\u4e26\u91cd\u547d\u540d\u70baphp.ini\u3002<\/li>\n<li>\u7de8\u8f2fphp.ini\u6587\u4ef6\uff0c\u555f\u7528\u5fc5\u8981\u7684\u64f4\u5c55\uff0c\u4f8b\u5982\uff1a<code>extension=php_mysql.dll<\/code>\u548c<code>extension=php_mysqli.dll<\/code>\u3002<\/li>\n<li>\u5728IIS\u4e2d\u914d\u7f6ePHP\uff0c\u6253\u958bIIS\u7ba1\u7406\u5668\uff0c\u53f3\u9375\u9ede\u64ca\u7db2\u7ad9\uff0c\u9078\u64c7\u201c\u8655\u7406\u7a0b\u5e8f\u6620\u5c04\u201d\uff0c\u6dfb\u52a0\u65b0\u7684\u6620\u5c04\uff0c\u5c07PHP\u7684\u57f7\u884c\u6a94\u8def\u5f91\u6307\u5411C:PHPphp-cgi.exe\u3002<\/li>\n<\/ol>\n<h2 id=\"%e4%b8%89%e3%80%81%e5%ae%89%e8%a3%9dmysql-EfrbyxGfYL\">\u4e09\u3001\u5b89\u88ddMySQL<\/h2>\n<p>MySQL\u662f\u6d41\u884c\u7684\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\uff0c\u60a8\u53ef\u4ee5\u5f9eMySQL\u7684\u5b98\u65b9\u7db2\u7ad9\u4e0b\u8f09\u5b89\u88dd\u5305\u3002\u5b89\u88dd\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u4e0b\u8f09MySQL\u5b89\u88dd\u5305\uff0c\u904b\u884c\u5b89\u88dd\u7a0b\u5e8f\u3002<\/li>\n<li>\u9078\u64c7\u201c\u5178\u578b\u5b89\u88dd\u201d\uff0c\u4e26\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88dd\u3002<\/li>\n<li>\u8a2d\u7f6eroot\u7528\u6236\u7684\u5bc6\u78bc\uff0c\u4e26\u8a18\u4e0b\u8a72\u5bc6\u78bc\u4ee5\u4fbf\u5f8c\u7e8c\u4f7f\u7528\u3002<\/li>\n<\/ol>\n<h2 id=\"%e5%9b%9b%e3%80%81%e5%ae%89%e8%a3%9dzend-framework-EfrbyxGfYL\">\u56db\u3001\u5b89\u88ddZend Framework<\/h2>\n<p>Zend Framework\u662f\u4e00\u500b\u958b\u6e90\u7684PHP\u6846\u67b6\uff0c\u80fd\u5920\u5e6b\u52a9\u958b\u767c\u8005\u5feb\u901f\u69cb\u5efa\u61c9\u7528\u7a0b\u5e8f\u3002\u5b89\u88dd\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u5f9eZend\u7684\u5b98\u65b9\u7db2\u7ad9\u4e0b\u8f09\u6700\u65b0\u7248\u672c\u7684Zend Framework\u3002<\/li>\n<li>\u5c07\u4e0b\u8f09\u7684\u6587\u4ef6\u89e3\u58d3\u7e2e\u5230C:Zend\u76ee\u9304\u3002<\/li>\n<li>\u5728php.ini\u4e2d\u6dfb\u52a0Zend\u7684\u8def\u5f91\uff0c\u4f8b\u5982\uff1a<code>zend_extension=C:ZendZendLoader.dll<\/code>\u3002<\/li>\n<\/ol>\n<h2 id=\"%e4%ba%94%e3%80%81%e5%ae%89%e8%a3%9dphpmyadmin-EfrbyxGfYL\">\u4e94\u3001\u5b89\u88ddphpMyAdmin<\/h2>\n<p>phpMyAdmin\u662f\u4e00\u500b\u7528\u65bc\u7ba1\u7406MySQL\u6578\u64da\u5eab\u7684\u5de5\u5177\u3002\u5b89\u88dd\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u5f9ephpMyAdmin\u7684\u5b98\u65b9\u7db2\u7ad9\u4e0b\u8f09\u6700\u65b0\u7248\u672c\u3002<\/li>\n<li>\u5c07\u4e0b\u8f09\u7684\u6587\u4ef6\u89e3\u58d3\u7e2e\u5230C:phpMyAdmin\u76ee\u9304\u3002<\/li>\n<li>\u7de8\u8f2fconfig.inc.php\u6587\u4ef6\uff0c\u8a2d\u7f6eMySQL\u7684\u7528\u6236\u540d\u548c\u5bc6\u78bc\u3002<\/li>\n<li>\u5728IIS\u4e2d\u914d\u7f6ephpMyAdmin\uff0c\u78ba\u4fdd\u53ef\u4ee5\u901a\u904e\u700f\u89bd\u5668\u8a2a\u554f\u3002<\/li>\n<\/ol>\n<h2 id=\"%e5%85%ad%e3%80%81%e6%b8%ac%e8%a9%a6%e9%85%8d%e7%bd%ae-EfrbyxGfYL\">\u516d\u3001\u6e2c\u8a66\u914d\u7f6e<\/h2>\n<p>\u5b8c\u6210\u4e0a\u8ff0\u6b65\u9a5f\u5f8c\uff0c\u60a8\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u65b9\u5f0f\u6e2c\u8a66\u914d\u7f6e\u662f\u5426\u6210\u529f\uff1a<\/p>\n<ul>\n<li>\u5728\u700f\u89bd\u5668\u4e2d\u8f38\u5165<code>http:\/\/localhost\/phpinfo.php<\/code>\uff0c\u67e5\u770bPHP\u4fe1\u606f\u3002<\/li>\n<li>\u8a2a\u554f<code>http:\/\/localhost\/phpMyAdmin<\/code>\uff0c\u4f7f\u7528\u4e4b\u524d\u8a2d\u7f6e\u7684MySQL\u7528\u6236\u540d\u548c\u5bc6\u78bc\u767b\u9304\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-EfrbyxGfYL\">\u7e3d\u7d50<\/h2>\n<p>\u901a\u904e\u4ee5\u4e0a\u6b65\u9a5f\uff0c\u60a8\u5df2\u7d93\u6210\u529f\u5728Windows Server 2008\u4e0a\u914d\u7f6e\u4e86IIS 7.0\u3001PHP\u3001MySQL\u3001Zend\u548cphpMyAdmin\u3002\u9019\u4e00\u7d44\u5408\u70ba\u958b\u767c\u8005\u63d0\u4f9b\u4e86\u4e00\u500b\u5f37\u5927\u7684\u958b\u767c\u74b0\u5883\uff0c\u80fd\u5920\u652f\u6301\u5404\u7a2eWeb\u61c9\u7528\u7684\u958b\u767c\u548c\u7ba1\u7406\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u9ad8\u6548\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u53ef\u4ee5\u8003\u616e\u4f7f\u7528<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u670d\u52d9\uff0c\u9019\u5c07\u70ba\u60a8\u7684\u7db2\u7ad9\u63d0\u4f9b\u66f4\u7a69\u5b9a\u7684\u6027\u80fd\u548c\u66f4\u597d\u7684\u5b89\u5168\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn to configure Win2008 IIS 7.0 with PHP, MySQL, Zend, and phpMyAdmin through detailed visual guides and step-by-step instructions.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-53873","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/53873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=53873"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/53873\/revisions"}],"predecessor-version":[{"id":53874,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/53873\/revisions\/53874"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=53873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=53873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=53873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}