{"id":167175,"date":"2023-09-12T23:41:45","date_gmt":"2023-09-12T15:41:45","guid":{"rendered":"http:\/\/www.idc.net\/help\/?p=167175"},"modified":"2023-09-12T23:41:45","modified_gmt":"2023-09-12T15:41:45","slug":"linux%e5%ae%9d%e5%a1%94php%e6%97%a0%e6%b3%95%e5%90%af%e5%8a%a8%e7%9a%84%e5%a4%9a%e7%a7%8d%e5%b8%b8%e8%a7%81%e9%94%99%e8%af%af%e8%a7%a3%e5%86%b3%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/167175\/","title":{"rendered":"Linux\u5b9d\u5854php\u65e0\u6cd5\u542f\u52a8\u7684\u591a\u79cd\u5e38\u89c1\u9519\u8bef\u89e3\u51b3\u6559\u7a0b"},"content":{"rendered":"<p><strong>Linux\u5b9d\u5854php\u65e0\u6cd5\u542f\u52a8\u7684N\u79cd\u5e38\u89c1\u9519\u8bef\u89e3\u51b3\u6559\u7a0b\uff0c<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u60c5\u51b5\u4e00\uff1asock\u5df2\u7ecf\u88ab\u76d1\u542c\u00a0<\/strong><\/p>\n<p>&nbsp;<\/p>\n<div style=\"position: relative; width: 100%; max-width: 800px; height: 300px; background-color: #eee; border-bottom: 2px solid #0059b3;\"><strong><span class=\"wbspy-placeholder-tip\" style=\"position: absolute; top: 50%; left: 0; width: 100%; text-align: center; line-height: 20px; font-size: 16px; margin-top: -10px;\">imgSpider \u91c7\u96c6\u4e2d...<\/span><\/strong><\/div>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u5c06\u8fd9\u4e2a\u8def\u5f84\u4e0b\u7684\u6587\u4ef6\u5220\u9664\u540e\u518d\u91cd\u542f \/tmp\/php-cgi-56.sock<br \/>\n\u8fdb\u5165ssh \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u518d\u91cd\u542fphp<\/p>\n<p>&nbsp;<\/p>\n<div class=\"blockcode\">\n<div id=\"code_I9W\">\n<ol>\n<li>rm -f \/tmp\/php-cgi-56.sock<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>\u5177\u4f53\u4e0d\u540c\u7684php\u7248\u672c\uff0c\u9700\u8981\u5c06\u4ee5\u4e0a\u547d\u4ee4\u768456\u66f4\u6362\u4e3a\u5177\u4f53\u62a5\u9519\u7684php\u7248\u672c\u53f7\uff0c\u4e0d\u80fd\u751f\u642c\u786c\u5957\u54e6<br \/>\n<strong><br \/>\n<\/strong><\/p>\n<p><strong><\/p>\n<p><\/strong><br \/>\n<strong>\u60c5\u51b5\u4e8c\uff1a libonig.so.2\u95ee\u9898<\/strong><\/p>\n<p>&nbsp;<\/p>\n<div style=\"position: relative; width: 100%; max-width: 800px; height: 300px; background-color: #eee; border-bottom: 2px solid #0059b3;\"><span class=\"wbspy-placeholder-tip\" style=\"position: absolute; top: 50%; left: 0; width: 100%; text-align: center; line-height: 20px; font-size: 16px; margin-top: -10px;\">imgSpider \u91c7\u96c6\u4e2d...<\/span><\/div>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u8fdb\u5165ssh \u6267\u884c\u8fd9\u6761\u547d\u4ee4 \u518d\u5c1d\u8bd5\u542f\u52a8<\/p>\n<div class=\"blockcode\">\n<div id=\"code_wLq\">\n<ol>\n<li>yum install libsodium-devel sqlite-devel oniguruma-devel libwebp-devel libvpx-devel -y<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p><strong>\u60c5\u51b5\u4e09\uff1a fatal error unable to create lock file:bad file descriptor(9)<\/strong><\/p>\n<p>&nbsp;<\/p>\n<div style=\"position: relative; width: 100%; max-width: 800px; height: 300px; background-color: #eee; border-bottom: 2px solid #0059b3;\"><span class=\"wbspy-placeholder-tip\" style=\"position: absolute; top: 50%; left: 0; width: 100%; text-align: center; line-height: 20px; font-size: 16px; margin-top: -10px;\">imgSpider \u91c7\u96c6\u4e2d...<\/span><\/div>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<p>&nbsp;<\/p>\n<div class=\"blockcode\">\n<div id=\"code_f6e\">\n<ol>\n<li>\/etc\/init.d\/php-fpm-72 stop<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>\u7136\u540e\u518d\u542f\u52a8\u8bd5\u8bd5<\/p>\n<div class=\"blockcode\">\n<div id=\"code_CHX\">\n<ol>\n<li>\/etc\/init.d\/php-fpm-72 start<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>\u6ce8\u610f:\u4ee5\u4e0a\u768472\uff0c\u4e3aphp\u7248\u672c\u53f7\uff0c\u54ea\u4e2a\u7248\u672c\u7684php\u542f\u52a8\u4e0d\u4e86\uff0c\u5c31\u5c06\u4ee5\u4e0a\u547d\u4ee4\u768472\u6539\u4e3a\u5bf9\u5e94\u7248\u672c\u53f7<\/p>\n<p><strong>\u60c5\u51b5\u56db\uff1azip\u6269\u5c55<\/strong><\/p>\n<p>&nbsp;<\/p>\n<div style=\"position: relative; width: 100%; max-width: 800px; height: 300px; background-color: #eee; border-bottom: 2px solid #0059b3;\"><span class=\"wbspy-placeholder-tip\" style=\"position: absolute; top: 50%; left: 0; width: 100%; text-align: center; line-height: 20px; font-size: 16px; margin-top: -10px;\">imgSpider \u91c7\u96c6\u4e2d...<\/span><\/div>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u5b89\u88c5\u7684\u7248\u672c\u4e0d\u5bf9<br \/>\n\u91cd\u65b0\u5b89\u88c5zip\u6269\u5c55<\/p>\n<p><strong>\u60c5\u51b5\u4e94 libsodium<\/strong><\/p>\n<p>&nbsp;<\/p>\n<div style=\"position: relative; width: 100%; max-width: 800px; height: 300px; background-color: #eee; border-bottom: 2px solid #0059b3;\"><span class=\"wbspy-placeholder-tip\" style=\"position: absolute; top: 50%; left: 0; width: 100%; text-align: center; line-height: 20px; font-size: 16px; margin-top: -10px;\">imgSpider \u91c7\u96c6\u4e2d...<\/span><\/div>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u4e00\u822c\u662f\u7f3a\u5c11epel\u6e90\u5bfc\u81f4\u6ca1\u5b89\u88c5\u4e0alibsodium<\/p>\n<p>&nbsp;<\/p>\n<div class=\"blockcode\">\n<div id=\"code_j32\">\n<ol>\n<li>yum install epel-release -y &amp;&amp; yum install libsodium-devel -y<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p><strong>\u60c5\u51b5\u516d\u00a0\u00a0libcares.so<\/strong><\/p>\n<p>&nbsp;<\/p>\n<div style=\"position: relative; width: 100%; max-width: 800px; height: 300px; background-color: #eee; border-bottom: 2px solid #0059b3;\"><span class=\"wbspy-placeholder-tip\" style=\"position: absolute; top: 50%; left: 0; width: 100%; text-align: center; line-height: 20px; font-size: 16px; margin-top: -10px;\">imgSpider \u91c7\u96c6\u4e2d...<\/span><\/div>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u91cd\u65b0\u7f16\u8bd1\u5b89\u88c5\u4e00\u4e0bphp\u8bd5\u8bd5<\/p>\n<p><strong>\u60c5\u51b5\u4e03\u00a0\u00a0www\/server\/php\/73\/sbin\/php-fpm: symbol lookup error: \/www\/server\/php\/73\/sbin<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div style=\"position: relative; width: 100%; max-width: 800px; height: 300px; background-color: #eee; border-bottom: 2px solid #0059b3;\"><span class=\"wbspy-placeholder-tip\" style=\"position: absolute; top: 50%; left: 0; width: 100%; text-align: center; line-height: 20px; font-size: 16px; margin-top: -10px;\">imgSpider \u91c7\u96c6\u4e2d...<\/span><\/div>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u91cd\u65b0\u7f16\u8bd1\u5b89\u88c5\u4e00\u4e0bphp\u8bd5\u8bd5\uff0c\u7f16\u8bd1\u5b89\u88c5\u4e0d\u4f1a\u62a5\u8fd9\u4e2a\u9519<\/p>\n<p><strong>\u60c5\u51b5\u516b\u00a0\u00a0\u624b\u52a8\u5f00\u542f\u4e86\u5df2\u7ecf\u5f00\u542f\u7684openssl\u6269\u5c55\u5bfc\u81f4\u7684\u542f\u52a8\u4e0d\u4e86<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div style=\"position: relative; width: 100%; max-width: 800px; height: 300px; background-color: #eee; border-bottom: 2px solid #0059b3;\"><span class=\"wbspy-placeholder-tip\" style=\"position: absolute; top: 50%; left: 0; width: 100%; text-align: center; line-height: 20px; font-size: 16px; margin-top: -10px;\">imgSpider \u91c7\u96c6\u4e2d...<\/span><\/div>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u5982\u5c06\u914d\u7f6e\u6587\u4ef6\u7684openssl\u6bb5\u4ee3\u7801\u53bb\u4e86\u5206\u53f7\uff0c\u542f\u52a8\u62a5\u8fd9\u4e2a\u7684\uff0c\u52a0\u4e0a\u5206\u53f7\u6ce8\u91ca\u56de\u53bb<br \/>\n\u7136\u540e\u518d\u91cd\u542fphp\u8bd5\u8bd5\uff0copenssl\u9ed8\u8ba4\u5df2\u7ecf\u5b89\u88c5\u5e76\u52a0\u8f7d\u7684\uff0c\u65e0\u9700\u518d\u624b\u52a8\u5f00\u542f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u5b9d\u5854php\u65e0\u6cd5\u542f\u52a8\u7684N\u79cd\u5e38\u89c1\u9519\u8bef\u89e3\u51b3\u6559\u7a0b\uff0c &nbsp; \u60c5\u51b5\u4e00\uff1asock\u5df2\u7ecf\u88ab\u76d1\u542c\u00a0 &nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,37],"tags":[],"class_list":["post-167175","post","type-post","status-publish","format-standard","hentry","category-linux","category-bt"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/167175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=167175"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/167175\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=167175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=167175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=167175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}