<br />
<b>Notice</b>:  Trying to get property 'ID' of non-object in <b>/var/www/html/feellikelearning/wp-content/themes/songwriter-premium/functions.php</b> on line <b>371</b><br />
{"version":"1.0","provider_name":"Feel Like Learning","provider_url":"https:\/\/feellikelearning.com","author_name":"feellikelearning","author_url":"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/","title":"\u5173\u4e8eMac OS Monterey\u4e0a\u7684Apache\/httpd\u7684\u7b14\u8bb0 | Feel Like Learning","type":"rich","width":600,"height":338,"html":"<blockquote class=\"wp-embedded-content\" data-secret=\"7Jt8Lqq6lN\"><a href=\"https:\/\/feellikelearning.com\/index.php\/2022\/06\/21\/notes-about-apache-httpd-on-mac-os-monterey\/\">\u5173\u4e8eMac OS Monterey\u4e0a\u7684Apache\/httpd\u7684\u7b14\u8bb0<\/a><\/blockquote><iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"https:\/\/feellikelearning.com\/index.php\/2022\/06\/21\/notes-about-apache-httpd-on-mac-os-monterey\/embed\/#?secret=7Jt8Lqq6lN\" width=\"600\" height=\"338\" title=\"&#8220;\u5173\u4e8eMac OS Monterey\u4e0a\u7684Apache\/httpd\u7684\u7b14\u8bb0&#8221; &#8212; Feel Like Learning\" data-secret=\"7Jt8Lqq6lN\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"><\/iframe><script type=\"text\/javascript\">\n\/*! This file is auto-generated *\/\n!function(c,d){\"use strict\";var e=!1,o=!1;if(d.querySelector)if(c.addEventListener)e=!0;if(c.wp=c.wp||{},c.wp.receiveEmbedMessage);else if(c.wp.receiveEmbedMessage=function(e){var t=e.data;if(!t);else if(!(t.secret||t.message||t.value));else if(\/[^a-zA-Z0-9]\/.test(t.secret));else{for(var r,s,a,i=d.querySelectorAll('iframe[data-secret=\"'+t.secret+'\"]'),n=d.querySelectorAll('blockquote[data-secret=\"'+t.secret+'\"]'),o=new RegExp(\"^https?:$\",\"i\"),l=0;l<n.length;l++)n[l].style.display=\"none\";for(l=0;l<i.length;l++)if(r=i[l],e.source!==r.contentWindow);else{if(r.removeAttribute(\"style\"),\"height\"===t.message){if(1e3<(s=parseInt(t.value,10)))s=1e3;else if(~~s<200)s=200;r.height=s}if(\"link\"===t.message)if(s=d.createElement(\"a\"),a=d.createElement(\"a\"),s.href=r.getAttribute(\"src\"),a.href=t.value,!o.test(a.protocol));else if(a.host===s.host)if(d.activeElement===r)c.top.location.href=t.value}}},e)c.addEventListener(\"message\",c.wp.receiveEmbedMessage,!1),d.addEventListener(\"DOMContentLoaded\",t,!1),c.addEventListener(\"load\",t,!1);function t(){if(o);else{o=!0;for(var e,t,r,s=-1!==navigator.appVersion.indexOf(\"MSIE 10\"),a=!!navigator.userAgent.match(\/Trident.*rv:11\\.\/),i=d.querySelectorAll(\"iframe.wp-embedded-content\"),n=0;n<i.length;n++){if(!(r=(t=i[n]).getAttribute(\"data-secret\")))r=Math.random().toString(36).substr(2,10),t.src+=\"#?secret=\"+r,t.setAttribute(\"data-secret\",r);if(s||a)(e=t.cloneNode(!0)).removeAttribute(\"security\"),t.parentNode.replaceChild(e,t);t.contentWindow.postMessage({message:\"ready\",secret:r},\"*\")}}}}(window,document);\n<\/script>\n","description":"\u8def\u5f84\uff0c\u53ef\u4ee5\u7528which httpd\u786e\u5b9a \u7248\u672c \u91cd\u542fhttpd, \u52a0-k\u4f1a\u6709\u66f4\u591a\u4fe1\u606f\u3002\u6bd4\u5982PHP\u9700\u8981code sign\uff0c\u4e0d\u52a0\u5c31\u4e0d\u544a\u8bc9\u4f60 \u5728Monterey\u91cc\uff0c\u52a0\u8f7dPHP\u9700\u8981code sign\u3002\u53ef\u4ee5\u53c2\u8003\u8fd9\u7bc7\u6587\u7ae0\u3002 \u5982\u679cPHP\u7248\u672c\u66f4\u65b0\u4e86\uff0c\u6bd4\u5982\u7528\u4e86brew update\uff0c\u90a3\u4e48\u9700\u8981\u5bf9\u65b0\u7248\u672c\u7684libphp \u8fdb\u884c code sign\u3002 \u5982\u679cMac\u7535\u8111\u91cd\u542f\u4e86\uff0c\u4e5f\u9700\u8981codesign\uff0c\u6bd4\u5982 \u9700\u8981\u6839\u636ephp\u5b89\u88c5\u6539\u53d8\u4e0a\u9762libphp.so\u7684\u8def\u5f84\u3002\u6709\u65f6Mac\u4e0a\u9762\u7528brew\u5b89\u88c5\u7684php\u5347\u7ea7\u4e86\uff0c\u4e5f\u9700\u8981\u4fee\u6539\u4e0a\u9762\u7684&lt;php version>\u3002 \u67e5\u627eapache2 config \u91cc\u9762\u7528\u7684libphp.so\u5730\u5740 \u5728Mac OS\u91cc\uff0capache2 conf\u7684\u53ef\u80fd\u8def\u5f84\u662f\/etc\/apache2\/httpd.conf\uff0c\u53ef\u4ee5\u7528sudo\u6743\u9650\u7f16\u8f91 Document root\u8def\u5f84 Config file \uff08\u914d\u7f6e\u6587\u4ef6\uff09\u8def\u5f84 log (\u65e5\u5fd7\uff09\u8def\u5f84 \u672c\u6587\u94fe\u63a5"}