{"id":81,"date":"2006-06-28T18:37:59","date_gmt":"2006-06-28T10:37:59","guid":{"rendered":"http:\/\/elon.852128.com\/blog\/?p=81"},"modified":"2006-06-28T18:37:59","modified_gmt":"2006-06-28T10:37:59","slug":"apache22%e4%b8%8d%e6%94%af%e6%8c%81php514%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/elon.852128.com\/blog\/2006\/06\/28\/apache22%e4%b8%8d%e6%94%af%e6%8c%81php514%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95\/","title":{"rendered":"apache2.2\u4e0d\u652f\u6301php5.1.4\u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>1.\u00a0\u00a0\u4e0b\u8f7d\u3001\u5b89\u88c5<\/p>\n<p>2\u3002<br \/>\n\u82e5apache\u51fa\u73b0\u9519\u8bef\u4fe1\u606f\uff1aThe\u00a0Apache\u00a0service\u00a0named\u00a0\u00a0reported\u00a0the\u00a0following\u00a0error:<br \/>\n&gt;&gt;&gt;\u00a0httpd.exe:\u00a0Syntax\u00a0error\u00a0on\u00a0line\u00a0115\u00a0of\u00a0C:\/Program\u00a0Files\/Apache\u00a0Software\u00a0Foundation\/Apache2.2\/conf\/httpd.conf:\u00a0Cannot\u00a0load\u00a0C:\/PHP5\/php5apache2.dll\u00a0into\u00a0server:\u00a0xd5xd2xb2xbbxb5xbdxd6xb8xb6xa8xb5xc4xc4xa3xbfxe9xa1xa3<\/p>\n<p>\u76ee\u524dapache2.2\u8fd8\u4e0d\u592a\u652f\u6301php5.1.x\uff0c\u89e3\u51b3\u529e\u6cd5\u6709\u4e24\u79cd\uff1a<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0(1)\u81ea\u5df1\u5728Windows\u4e0b\u7f16\u8bd1php5.1.x\u548cApache\u7684\u6e90\u7801\u5305\uff0c\u5bf9\u65b0\u624b\u96be\u5ea6\u6bd4\u8f83\u5927\u3002<br \/>\nhttp:\/\/www.php.net\/manual\/en\/install.windows.building.php<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0(2)\u53bbhttp:\/\/snap.php.net\u4e0b\u8f7dphp5.2.x\u7684Windows\u4e8c\u8fdb\u5236\u5305\uff0c\u628a\u5305\u91cc\u7684php5apache2_2.dll\u00a0\u6587\u4ef6Copy\u5230php5.1.x\u76ee\u5f55\u91cc\u9762\u3002<\/p>\n<p>\u6ce8\u610f\u6539\u8fd9\u4e00\u884cLoadModule\u00a0php5_module\u00a0&#8230;\/php5\/php5apache2_2.dll<\/p>\n<p>3\u00a0\u3002\u5982\u679c\u8fd8\u4e0d\u884c\uff0c\u4ee5\u4e0b\u662f\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>\u00a0\u00a0\u4e0b\u8f7d\u00a0<a target=\"_blank\" href=\"http:\/\/www.phpv.net\/php5apache2.dll-php5.1.x.rar\">http:\/\/www.phpv.net\/php5apache2.dll-php5.1.x.rar<\/a>\u5e76\u89e3\u538b.\u5171\u6709\u4e09\u4e2a\u6587\u4ef6.<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0vcredist_x86.exe<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0php5apache2.dll<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0httpd.exe.manifest<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a01.\u5c06\u00a0php5apache2.dll\u00a0\u8986\u76d6\u6389\u4f60\u539f\u6765PHP\u76ee\u5f55\u4e0b\u7684\u00a0php5apache2.dll\u00a0\u6587\u4ef6.<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a02.\u5c06\u00a0httpd.exe.manifest\u00a0\u6587\u4ef6\u590d\u5236\u5230\u4f60\u7684apache\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684bin\u6587\u4ef6\u5939\u4e0b.<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a03.\u53cc\u51fb\u8fd0\u884cvcredist_x86.exe\u5b89\u88c5.(\u5982\u679c\u65e0\u6cd5\u5b89\u88c5\u88c5vcredist_x86.exe\uff0c\u5c31\u4e0b\u8f7d\u4e00\u4e2a.NET\u00a0framework\u00a02\u88c5\u4e0a\uff0c\u5f53\u7136\u5c31\u4e0d\u7528\u518d\u88c5vcredist_x86.exe\u3002)<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u91cd\u542fapache2.2<\/p>\n<p>4.\u00a0\u5982\u679c\u4e0d\u884c\u53ef\u591a\u8bd5\u51e0\u6b21,\u4ee5\u4fee\u590d\u65b9\u5f0f\u5b89\u88c5\u4e00\u4e0bapache.<\/p>\n<p>5\u00a0,\u5982\u679c\u51fa\u73b0\u00a0\u00a0\u00a0\u00a0could\u00a0not\u00a0bind\u00a0to\u00a0address\u00a00.0.0.0.: 80\u00a0\u00a0no\u00a0listening\u00a0sockets\u00a0available,shutting\u00a0down\u00a0\u00a0Unable\u00a0to\u00a0open\u00a0logs\u00a0\u9519\u8bef\u63d0\u793a,\u53ef\u80fd\u662fskype\u7b49\u8f6f\u4ef6\u5360\u7528\u4e8680\u7aef\u53e3,\u7528netstat\u00a0-a,\u00a0\u00a0netstat\u00a0-na\u770b\u4e00\u4e0b\u7aef\u53e3\u60c5\u51b5;\u8fd8\u6709\u4e00\u79cd\u53ef\u80fd\u662f:\u4f60\u7684apache\u5df2\u7ecf\u6253\u5f00\u4e86,\u4f60\u518d\u6b21\u6253\u5f00\u65f6\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u7684,\u770b\u4e00\u4e0b\u8fdb\u7a0b\u91cc\u662f\u4e0d\u662f\u6709httpd.exe\u8fdb\u7a0b.\u00a0<\/p>\n<p>\u6d4b\u8bd5\u662f\u5426\u5b89\u88c5\u6210\u529f<\/p>\n<p>\u518d\u6309\u4e0d\u4e0a\uff0c\u4e0a\u5e1d\u4e5f\u65e0\u56de\u5929\u4e4b\u672f\u4e86\uff0c\u602a\u5c31\u602aWINDOWS\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u00a0\u00a0\u4e0b\u8f7d\u3001\u5b89\u88c5 2\u3002 \u82e5apache\u51fa\u73b0\u9519\u8bef\u4fe1\u606f\uff1aThe\u00a0Ap&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":0,"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"wp:attachment":[{"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elon.852128.com\/blog\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}