{"id":135,"date":"2009-08-07T15:33:22","date_gmt":"2009-08-07T07:33:22","guid":{"rendered":"http:\/\/www.genepeng.com\/?p=135"},"modified":"2009-08-13T23:01:13","modified_gmt":"2009-08-13T15:01:13","slug":"apache%e6%89%be%e4%b8%8d%e5%88%b0mysql-dll","status":"publish","type":"post","link":"https:\/\/www.genepeng.com\/index.php\/135","title":{"rendered":"apache\u627e\u4e0d\u5230mysql.dll"},"content":{"rendered":"<p>\u5728windows xp\u4e0b\u5b89\u88c5\u4e86apache\u548cphp, php\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\u3002\u4f46\u4e0d\u80fd\u7528php\u8fde\u63a5mysql, \u67e5\u770bapache\u7684error.log\u53d1\u73b0\u4e86\uff1aPHP Warning:  PHP Startup: Unable to load dynamic library &#8216;C:\/software\/php-5.2\/ext\/php_mysql.dll&#8217; &#8211; The specified module could not be found.\\r\\n in Unknown on line 0<\/p>\n<address>\u8d76\u7d27\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u5427\uff1a&#8212;&#8211;   php.ini<\/address>\n<address>extension_dir = &#8220;C:\/software\/php-5.2\/ext\/&#8221;<\/address>\n<address>extension=php_mysql.dll<\/address>\n<address><\/address>\n<address>\u5728C:\/software\/php-5.2\/ext\/\u660e\u660e\u6709php_mysql.dll\u8fd9\u4e2a\u6587\u4ef6\uff0c \u53ef\u5b83\u5c31\u662f\u8bf4\u627e\u4e0d\u5230\u8fd9\u4e2a\u6587\u4ef6\uff0c \u597d\u5947\u602a\uff0c\u53ea\u597d\u6c42\u52a9\u4e8e\u8c37\u54e5\u5427<\/address>\n<address>\u7ec8\u4e8e\u627e\u5230\u5566\uff1a<\/address>\n<address>\u539f\u6765php_mysql.dll\u4f9d\u8d56\u4e8elibmysql.dll\u8fd9\u4e2a\u6587\u4ef6\uff0c \u800clibmysql.dll\u53c8\u5728C:\/software\/php-5.2\/\u76ee\u5f55\u4e0b\uff0c \u800c\u4e4b\u524d\u5e76\u6ca1\u6709\u628aC:\/software\/php-5.2\/\u52a0\u5230\u73af\u5883\u53d8\u91cf\u91cc\uff0c \u4e5f\u6ca1\u6709\u628alibmysql.dll\u653e\u5230C:\\WINDOWS\\system32\u76ee\u5f55\u4e0b\uff0c \u7cfb\u7edf\u6839\u672c\u627e\u4e0d\u5230php_mysql.dll\uff0c \u6240\u4ee5\u51fa\u955c\u5566<\/address>\n<address><\/address>\n<address>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/address>\n<address>1. \u628alibmysql.dll\u653e\u5230C:\\WINDOWS\\system32\u4e0b\u3002<\/address>\n<address>2. \u628aPHP[\u6211\u7684\u5c31\u662f\uff1aC:\/software\/php-5.2\/]\u7684\u8def\u5f84\u52a0\u5230\u73af\u5883\u53d8\u91cf\u91cc\u3002 [\u8fd9\u4e2a\u6ca1\u6709\u6d4b\u8fc7\uff0c \u56e0\u4e3a\u672c\u4eba\u7528\u7b2c\u4e00\u79cd\u65b9\u6cd5\u8bd5\u4e86\uff0c\u6210\u529f\u4e86\uff0c \u6240\u4ee5\u5c31\u5077\u61d2\u6ca1\u8bd5\u8fd9\u4e2a\u4e86]<\/address>\n","protected":false},"excerpt":{"rendered":"<p>\u5728windows xp\u4e0b\u5b89\u88c5\u4e86apache\u548cphp, php\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\u3002\u4f46\u4e0d\u80fd\u7528php\u8fde\u63a5mysql, \u67e5\u770bapache\u7684error.log\u53d1\u73b0\u4e86\uff1aPHP Warning: PHP Startup: Unable to load dynamic library &#8216;C:\/software\/php-5.2\/ext\/php_mysql.dll&#8217; &#8211; The specified module could not be found.\\r\\n in Unknown on line 0 \u8d76\u7d27\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u5427\uff1a&#8212;&#8211; php.ini extension_dir = &#8220;C:\/software\/php-5.2\/ext\/&#8221; extension=php_mysql.dll \u5728C:\/software\/php-5.2\/ext\/\u660e\u660e\u6709php_mysql.dll\u8fd9\u4e2a\u6587\u4ef6\uff0c \u53ef\u5b83\u5c31\u662f\u8bf4\u627e\u4e0d\u5230\u8fd9\u4e2a\u6587\u4ef6\uff0c \u597d\u5947\u602a\uff0c\u53ea\u597d\u6c42\u52a9\u4e8e\u8c37\u54e5\u5427 \u7ec8\u4e8e\u627e\u5230\u5566\uff1a \u539f\u6765php_mysql.dll\u4f9d\u8d56\u4e8elibmysql.dll\u8fd9\u4e2a\u6587\u4ef6\uff0c \u800clibmysql.dll\u53c8\u5728C:\/software\/php-5.2\/\u76ee\u5f55\u4e0b\uff0c \u800c\u4e4b\u524d\u5e76\u6ca1\u6709\u628aC:\/software\/php-5.2\/\u52a0\u5230\u73af\u5883\u53d8\u91cf\u91cc\uff0c \u4e5f\u6ca1\u6709\u628alibmysql.dll\u653e\u5230C:\\WINDOWS\\system32\u76ee\u5f55\u4e0b\uff0c \u7cfb\u7edf\u6839\u672c\u627e\u4e0d\u5230php_mysql.dll\uff0c \u6240\u4ee5\u51fa\u955c\u5566 \u89e3\u51b3\u65b9\u6cd5\uff1a 1. \u628alibmysql.dll\u653e\u5230C:\\WINDOWS\\system32\u4e0b\u3002 2. \u628aPHP[\u6211\u7684\u5c31\u662f\uff1aC:\/software\/php-5.2\/]\u7684\u8def\u5f84\u52a0\u5230\u73af\u5883\u53d8\u91cf\u91cc\u3002 [\u8fd9\u4e2a\u6ca1\u6709\u6d4b\u8fc7\uff0c \u56e0\u4e3a\u672c\u4eba\u7528\u7b2c\u4e00\u79cd\u65b9\u6cd5\u8bd5\u4e86\uff0c\u6210\u529f\u4e86\uff0c \u6240\u4ee5\u5c31\u5077\u61d2\u6ca1\u8bd5\u8fd9\u4e2a\u4e86]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9,8,4,15],"tags":[],"_links":{"self":[{"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/posts\/135"}],"collection":[{"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":2,"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":152,"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/posts\/135\/revisions\/152"}],"wp:attachment":[{"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.genepeng.com\/index.php\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}