{"id":3838,"date":"2019-03-10T02:29:26","date_gmt":"2019-03-09T18:29:26","guid":{"rendered":"http:\/\/benjenq.ddns.net\/blog\/%e3%80%90%e7%a2%bc%e8%be%b2%e3%80%91%e4%bd%bf%e7%94%a8-phpstorm-%e6%8a%93%e8%87%ad%e8%9f%b2\/"},"modified":"2019-03-10T02:29:26","modified_gmt":"2019-03-09T18:29:26","slug":"%e3%80%90%e7%a2%bc%e8%be%b2%e3%80%91%e4%bd%bf%e7%94%a8-phpstorm-%e6%8a%93%e8%87%ad%e8%9f%b2","status":"publish","type":"post","link":"http:\/\/benjenq.ddns.net\/blog\/%e3%80%90%e7%a2%bc%e8%be%b2%e3%80%91%e4%bd%bf%e7%94%a8-phpstorm-%e6%8a%93%e8%87%ad%e8%9f%b2\/","title":{"rendered":"\u3010\u78bc\u8fb2\u3011\u4f7f\u7528 PHPStorm \u6293\u81ed\u87f2"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"171\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552169317-252483243.png\" title=\"\" width=\"314\"><\/p>\n<p>\u51fa\u793e\u6703\u9019\u4e9b\u5e74\u5beb\u904e\u7684\u7a0b\u5f0f\u8a9e\u8a00\u4e5f\u7b97\u4e0d\u5c11\uff0c\u7b2c\u4e00\u4efd\u5de5\u4f5c\u5c31\u662f Oracle \/ D2K \/ Form 6i\uff0c\u7528\u904e\u7684\u4eba\u90fd\u8aaa\u8b9a\uff01\u9019\u73a9\u610f\u5beb Oracle \u8cc7\u6599\u5eab\u4ea4\u6613\u529f\u80fd\u7c21\u76f4\u662f\u795e\u5668\uff0c\u5beb\u4e00\u652f\u5177\u5099\u65b0\u589e\u4fee\u6539\u522a\u9664\u52a0\u4e0a\u5404\u6b04\u4f4d\u67e5\u8a62\u529f\u80fd\u7684\u8868\u55ae\uff0c\u53ea\u9700\u8981\u7528\u6ed1\u9f20\u62c9\u4e00\u62c9\u5c31\u5b8c\u6210\u4e86\uff0c\u4e00\u884c\u7a0b\u5f0f\u78bc\u90fd\u4e0d\u7528\u5beb\u3002\b\b\u65e9\u671f\u5c31\u66fe\u7d93\u6709\u4eba\u9760 Oracle \/ D2K \u958b\u767c\u5de5\u5177\uff0c\u5927\u8086\u5ba3\u7a31\u534a\u5e74\u5167\u5beb\u51fa\u4e94\u767e\u591a\u652f\u7a0b\u5f0f\uff0c\u7e3e\u6548\u6590\u7136\uff0c\u56e0\u6b64\u8e39\u4e0b\u5176\u4ed6\u7af6\u722d\u8005\uff0c\u6210\u529f\u640f\u5f97\b\u4e0a\u5e02\u96fb\u5b50\u5ee0\u9ad8\u968e\u7d93\u7406\u4eba\u4e0a\u4f4d\uff0c\u8d85\u8d8a\u985b\u5cf0\uff0c\u6399\u5f97\u6bcf\u5e74\u6578\u767e\u5f35\u914d\u80a1\u5206\u7d05\uff0c\u8a72\u4eba\u6700\u8457\u540d\u53e3\u982d\u79aa\u300c\u4e00\u5929\u8ce3\u4e00\u5f35\uff0c\u4e00\u5e74\u4e5f\u8ce3\u4e0d\u5b8c\u300d\uff0c\u5728\u96fb\u5b50\u696d\u8207\u8edf\u9ad4\u696d\u754c\u6210\u70ba\u7d93\u5178\u7684\u50b3\u5947\u6545\u4e8b\uff08\u77e5\u9053\u6211\u5728\u8b1b\u8ab0\u7684\uff0c\u8acb\u52ff\u5c0d\u865f\u5165\u5ea7\uff09\u3002\u7531\u6b64\u53ef\u77e5\uff0c\u78bc\u8fb2\u5011\u9078\u5c0d\u958b\u767c\u5de5\u5177\u662f\u975e\u5e38\u91cd\u8981\u7684\u4e8b\uff0c\u751a\u81f3\u6709\u6a5f\u6703\u7ffb\u8f49\u8eab\u4eba\u751f\uff0c\u8cfa\u9032\u5927\u628a\u9214\u7968&#8230; \u626f\u9060\u4e86\uff0c\u5f8c\u4f86\u63db\u4e86\u5e7e\u6b21\u5de5\u4f5c\uff0c\u7528 Visual Studio \u5beb ASP.NET\uff0c\u7528 Xcode \u5beb Object-C\uff0c\u7279\u5b9a\u7684\u7a0b\u5f0f\u8a9e\u8a00\u7528\u7279\u5b9a\u7684\u958b\u767c\u5de5\u5177\uff0c\u505a\u51fa\u4e00\u6574\u5957\u5b8c\u6574\u529f\u80fd\u7684\u61c9\u7528\u7a0b\u5f0f\u5c08\u6848\uff0c\u4f3c\u4e4e\u662f\u7406\u6240\u7576\u7136\u7684\u4e8b\u3002<\/p>\n<p>\u7136\u800c\u5728\u6c5f\u6e56\u4e0a\u537b\u4e0d\u4e00\u5b9a\u4e8b\u4e8b\u90fd\u7406\u6240\u7576\u7136\u3002\u6bd4\u5982 PHP \u9019\u73a9\u610f\uff0c\u5f88\u591a\u5e74\u524d\u5c31\u63a5\u89f8\u4e86\uff0c\u529f\u529b\u4e00\u76f4\u4ee5\u4f86\u90fd\u662f\u5beb\u5e7e\u96bb\u5c0f\u7a0b\u5f0f\u3001\u505a\u5e7e\u4ef6\u5c0f\u4e8b\u7684\u7a0b\u5ea6\u3002\u539f\u56e0\u662f\u5f88\u4e45\u4ee5\u524d\u5fd8\u4e86\u5728\u54ea\u500b\u7db2\u7ad9\u4e0a\u770b\u5230\u4e00\u53e5\u8a71\uff1aPHP \u8981\u7528\u6587\u5b57\u7de8\u8f2f\u5668\u4f86\u5beb\u3002\u65bc\u662f\u7a2e\u4e0b\u4e86\u958b\u767c PHP \u65b9\u6cd5\u7684\u932f\u8aa4\u8a8d\u77e5\u3002<\/p>\n<p>\u6700\u8fd1\u624b\u908a\u6709\u500b\u5c08\u6848\uff0c\u5c0d\u6211\u4f86\u8aaa\uff0c&nbsp;VS \u5beb\u5f8c\u7aef\uff0c&nbsp;Xcode \u5beb\u524d\u7aef\uff0c\u8f15\u9b06\u9054\u9663\u4e0d\u96e3\uff0c&nbsp;\u4f46\u662f\u8981\u6539\u7528 HTML5 + CSS3 + jQuery + PHP \u4f86\u5beb\uff0c\u9019\u5c31\u4ee4\u6211\u958b\u59cb\u982d\u75bc\u4e86\u3002<\/p>\n<p>\u7528\u6587\u5b57\u7de8\u8f2f\u5668\u64b0\u5beb HTML5 + CSS3&nbsp;+ jQuery +&nbsp;PHP \u7a0b\u5f0f\uff0c\u958b\u767c\u51fa\u5c08\u6848\u7d1a\u5225\u7684\u529f\u80fd\uff0c\u53ef\u884c\u55ce\uff1f\u5c0d\u8cc7\u8cea\u611a\u7b28\u7684\u5c0f\u5f1f\u6211\u4f86\u8aaa\uff0c\u5e7e\u4e4e\u4e0d\u53ef\u884c\uff01\u6211\u9700\u8981\u4e00\u5957\u5982\u540c D2K \/ Visual Studio \/ Xcode \u90a3\u7a2e\u5f37\u5927\u7684\u958b\u767c\u5de5\u5177\u4f86\u64b0\u5beb PHP \u7a0b\u5f0f\u3002<\/p>\n<p>\u65bc\u662f\u6211\u958b\u59cb\u6c42\u52a9 Google \u5927\u795e\uff0c\u751a\u81f3\u4e0a\u7db2 PTT \u5fb5\u6c42\u6280\u8853\u4ea4\u6d41 \/ \u6280\u8853\u4ea4\u63db\u8a0e\u8ad6\u7b49\uff0c\u6700\u5f8c\u9078\u64c7\u4e86 <a href=\"http:\/\/brackets.io\/\" target=\"_blank\">Brackets<\/a> \uff0bPHP \u5916\u639b\u4f86\u958b\u767c\u3002Brackets \u529f\u80fd\u5f37\u5927\uff0c\u4f46\u90a3\u662f\u6307\u524d\u7aef\u800c\u8a00\uff0c\u64b0\u5beb PHP \u5f8c\u7aef\u5247\u986f\u5f97\u5341\u5206\u96de\u808b\uff0c\u8a66\u4e86\u5404\u7a2e\u5916\u639b\uff0c\u9802\u591a\u53ea\u6703\u63d0\u793a PHP \u7684\u5167\u5efa\u6307\u4ee4\uff0c\u7121\u6cd5\u5075\u932f\uff0c\u5beb\u8d77 PHP \u9084\u662f\u8209\u6b65\u8271\u96e3\u3002\u96a8\u8457\u7a0b\u5f0f\u78bc\u8d8a\u4f86\u8d8a\u591a\uff0c\u611f\u89ba\u8d8a\u4f86\u8d8a\u5403\u529b\uff0c\u89ba\u5f97\u81ea\u5df1\u6c92\u6709\u7528\u5c0d\u65b9\u6cd5\u3002<\/p>\n<p>\u6700\u7d42\u8b93\u6211\u7528\u5c0d\u4e86\u95dc\u9375\u5b57\uff0c\u627e\u5230\u6211\u8a8d\u70ba\u6700\u9069\u5408\u7684 PHP \u958b\u767c\u5de5\u5177\uff1a<\/p>\n<p><!-- more --><\/p>\n<p><a href=\"https:\/\/www.jetbrains.com\/phpstorm\/\" target=\"_blank\">PHPStorm<\/a><\/p>\n<p>\u7528\u904e PHPStorm \u5beb HTML5 + CSS3 +&nbsp;jQuery +&nbsp;PHP \u4e4b\u5f8c\uff0c\u5c31\u56de\u4e0d\u53bb\u4e86\u3002\u90a3\u4e9b\u63a8\u85a6\u300cSublime Text + \u5916\u639b\u300d\u7684\uff0c\u63a8\u85a6\u300cNotepad++\u300d\u7684\uff0c\u63a8\u85a6\u300cPE2\u300d\u7684\uff0c\u90a3\u662f\u7d66\u958b\u767c\u795e\u4eba\u5728\u7528\u7684\u3002\u5c0d\u65bc\u7fd2\u6163\u4f7f\u7528&nbsp;IDE \u5de5\u5177\u7ba1\u7406\u4e2d\u5927\u578b\u5c08\u6848\u7684\u51e1\u4eba\u4f86\u8aaa\uff0c\u300c\u795e\u5efa\u8b70\u300d\u6050\u6709\u4ee4\u4eba\u8aa4\u5165\u6b67\u9014\u7684\u5371\u96aa\u3002<\/p>\n<p>PHPStorm \u5efa\u7f6e PHP \u5c08\u6848\u662f\u4e00\u4ef6\u8f15\u9b06\u6109\u5feb\u7684\u4e8b\u3002PHPStorm \u529f\u80fd\u76f8\u7576\u5f37\u5927\uff0c\u4f46\u4e0d\u4e00\u5b9a\u5168\u90fd\u7528\u5f97\u4e0a\u3002\u9019\u7bc7\u6587\u7ae0\u8981\u8b1b\u7684\u662f\uff0c\u5982\u4f55\u7528 PHPStorm \u642d\u914d Xdebug \u5957\u4ef6\uff0c\u505a\u5230\u771f\u6b63\u7684 Break point \u529f\u80fd\uff1a\u4e5f\u5c31\u662f\u958b\u767c\u5de5\u5177\u5e38\u898b\u4e14\u597d\u7528\u7684\u65b7\u9ede\u529f\u80fd\uff0c\u56e0\u70ba\u525b\u67e5\u4e86\u4e00\u4e0b\uff0c\u9019\u90e8\u5206\u7684\u4e2d\u6587\u4ecb\u7d39\u4e4f\u5584\u53ef\u9673\uff0c\u5927\u591a\u662f\u5c0d\u5cb8\u7684\u6587\u7ae0\uff0c\u4e14\u4f3c\u4e4e\u90fd\u5f15\u7528\u65bc\u540c\u4e00\u500b\u4e0d\u53ef\u8003\u7684\u4f86\u6e90\uff0c\u64cd\u4f5c\u6b65\u9a5f\u8ddf\u5167\u5bb9\u96dc\u4e82\uff0c\u5176\u5be6\u6839\u672c\u6c92\u90a3\u9ebc\u8907\u96dc\u3002<\/p>\n<p>\u4ee5\u4e0b\u5f9e\u7121\u5230\u6709\u7684\u904e\u7a0b\uff0c\u5148\u7c21\u55ae\u5e36\u904e\u4e00\u904d\u3002Windows \/macOS \/ Ubuntu \u74b0\u5883\u7686\u9069\u7528\u3002<\/p>\n<p>1. \u4e0b\u8f09\u4e26\u5b89\u88dd <a href=\"https:\/\/www.apachefriends.org\/zh_tw\/download.html\" target=\"_blank\">Xampp<\/a>\uff1a\u7562\u5176\u529f\u65bc\u4e00\u5f79\uff0cXampp \u80fd\u4e00\u6b21\u5c07 Apache2 + PHP + MySQL \u7684\u958b\u767c\u74b0\u5883\u5efa\u7f6e\u8d77\u4f86\u3002\u5c31\u4e0d\u7528\u4e00\u500b\u4e00\u500b\u5b89\u88dd\u5efa\u7acb\uff0c\u7bc0\u7701\u5927\u91cf\u6642\u9593\u3002\u5b89\u88dd Xampp \u7684\u64cd\u4f5c\u6b65\u9a5f\u5728\u6b64\u7565\u904e\u4e0d\u63d0\u3002<\/p>\n<p>2. \u4e0b\u8f09\u4e26\u5b89\u88dd Xdebug\uff1a\u6700\u7c21\u55ae\u7684\u65b9\u5f0f\u662f\uff0c\u5728\u7b2c\u4e00\u6b65\u9a5f\u5b8c\u6210\u5f8c\uff0c\u5beb\u4e00\u500b\u6700\u7c21\u55ae\u7684 php \u7db2\u9801\uff1a<\/p>\n<p>&lt;?php phpinfo(); ?&gt;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"282\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552166170-719079879_n.png\" title=\"\" width=\"600\"><\/p>\n<p>\u57f7\u884c\u4e4b\u5f8c\u628a\u6574\u500b\u7db2\u9801\u7684\u5167\u5bb9\u5168\u9078\u8907\u88fd\uff0c\u8cbc\u5230\u5e95\u4e0b\u9019\u500b\u7db2\u9801<\/p>\n<p><a href=\"https:\/\/xdebug.org\/wizard.php\" target=\"_blank\">https:\/\/xdebug.org\/wizard.php<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"600\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552166251-2448562058_n.png\" title=\"\" width=\"594\"><\/p>\n<p>\u63a5\u8457\u6309\u4e0b\u6700\u5e95\u4e0b\u7684\u6309\u9215\u300cAnalyse my phpinfo() output\u300d\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"123\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552166322-3515129067.png\" title=\"\" width=\"294\"><\/p>\n<p>\u5f8c\u7e8c\u7684\u7db2\u9801\u5c31\u6703\u6559\u4f60\u600e\u9ebc\u5b89\u88dd Xdebug\uff0c\u7167\u8457\u505a\u5c31\u884c\u4e86\u3002<\/p>\n<p><span style=\"color:#FF0000\"><strong>\u88dc\u5145\u4e00\u63d0<\/strong><\/span>\uff0cmacOS 10.15 Catalina \u5728\u7de8\u8b6f Xdebug \u6642\u300c\u53ef\u80fd\u300d\u6703\u51fa\u73fe\u627e\u4e0d\u5230 php.h \u7684\u554f\u984c\uff0c\u539f\u56e0\u662f\u5f9e macOS 10.15 \u958b\u59cb\uff0c\u5b98\u65b9\u79fb\u9664\u4e86\u4ee5\u5f80\u6163\u7528\u7684&nbsp;\/usr\/include \u6a19\u982d\u6a94\u3002\u82e5\u662f\u5728\u672c\u6a5f\u5b89\u88dd XAMPP \u4f5c\u70ba\u958b\u767c\u4f7f\u7528\uff0c\u53ef\u5728 ~\/.bash_profile \u52a0\u4e0a\u4e00\u884c\u8def\u5f91\uff1a<\/p>\n<p>export PATH=\/Applications\/XAMPP\/xamppfiles\/bin:$PATH<\/p>\n<p>\u5f37\u8feb\u4f7f\u7528 XAMPP \u5167\u7684\u51fd\u5f0f\u5eab\uff0c\u7136\u5f8c\u7de8\u8b6f Xdebug \uff08phpize -&gt; .\/configure -&gt; make\uff09\u5c31\u4e0d\u6703\u6709\u554f\u984c\u4e86\u3002\u7de8\u8b6f\u5b89\u88dd\u5b8c Xdebug \u4e4b\u5f8c\u52d9\u5fc5\u8a18\u5f97\u628a\u8a72\u884c\u6a19\u8a18\uff0c\u907f\u514d\u65e5\u5f8c\u7de8\u8b6f\u5176\u4ed6\u9805\u76ee\u6642\u767c\u751f\u554f\u984c\u3002<\/p>\n<p>3. \u4fee\u6539Xampp \u88e1\u9762\u7684 php.ini (\u901a\u5e38\u5728 etc \u76ee\u9304\u4e0b)\uff0c\u52a0\u4e0a\u300cxdebug.remote_enable = 1\u300d\u8207\u300cxdebug.remote_port = 9000\u300d\u5169\u884c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"85\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552166753-660459544.png\" title=\"\" width=\"224\"><\/p>\n<p><strong><span style=\"color:#000000\"><span style=\"background-color:#FFFFFF\">\u82e5 Xdebug \u70ba 3.x + \u7248\uff0c\u53c3\u6578\u9700\u6539\u70ba\u300cxdebug.mode = debug\u300d\u8207\u300cxdebug.client_port = 9000\u300d\u3002<\/span><\/span><\/strong><\/p>\n<p>\u91cd\u555f Apache2\uff0c\u518d\u8dd1\u4e00\u6b21 phpinfo\uff0c\u5982\u679c Xdebug \u5b89\u88dd\u6210\u529f\uff0cphpinfo \u7684\u5167\u5bb9\u6703\u986f\u793a\u300cwith Xdebug vx.x.x\u300d\u5b57\u6a23\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"68\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552166565-930037853.png\" title=\"\" width=\"392\"><\/p>\n<p>4.&nbsp;\u700f\u89bd\u5668\u5b89\u88dd Xdebug \u5ef6\u4f38\u529f\u80fd\u5957\u4ef6\uff1a\u4ee5 Chrome \u70ba\u4f8b\uff0c\u5b89\u88dd\u7db2\u5740<\/p>\n<p><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/xdebug-helper\/eadndfjplgieldjbigjakmdgkmoaaaoc?hl=zh-TW\" target=\"_blank\">Xdebug Helper<\/a><\/p>\n<p>\u7136\u5f8c\u5728\u300c\u9078\u9805\u300d\u5167\u8a2d\u5b9a sessionkey \u7684\u503c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"109\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552167212-2652485452.png?v=1552167213\" title=\"\" width=\"546\"><\/p>\n<p>5. \u56de\u5230 PHPStorm \u7684\u5b89\u88dd\u8207\u64cd\u4f5c\u90e8\u5206\u3002\u5b89\u88dd PHPStorm \u7684\u6b65\u9a5f\u5728\u6b64\u7565\u904e\u4e0d\u63d0\u3002\u5f15\u5165 PHP \u5c08\u6848\u4e4b\u5f8c\uff0c\u518d\u52a0\u4e0a\u5e7e\u500b\u8a2d\u5b9a\u5c31\u884c\u4e86\u3002\u4e0d\u904e\u4e0d\u540c\u4f5c\u696d\u7cfb\u7d71\u7684\u9078\u55ae\u4f4d\u7f6e\u7a0d\u6709\u4e0d\u540c\uff0c\u4ee5\u4e0b\u4ee5 macOS \u70ba\u4f8b\uff1a<\/p>\n<p>PHPStorm -&gt; Preferences -&gt; Languages &amp; Frameworks -&gt; PHP -&gt; Servers<\/p>\n<p>\u6309 + \u65b0\u589e\uff0c\u586b\u5165\u5982\u4e0b\u5716\u5c0d\u61c9\u7684\u503c\uff0c\u6309 Apply -&gt; OK\u751f\u6548\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"505\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1553417789-1057636344_n.png\" title=\"\" width=\"600\"><\/p>\n<p>PHPStorm -&gt; Preferences -&gt; Languages &amp; Frameworks -&gt; PHP -&gt; Debug \u6aa2\u67e5 Port \u865f\u3002\u9810\u8a2d\u503c\u662f 9000\uff0c\u9700\u8207\u4e0a\u8ff0 Xdebug \u8a2d\u5b9a\u503c\u300cxdebug.remote_port = 9000\u300d\uff082.x \u7248\uff09\u6216\u300cxdebug.client_port = 9000\u300d\uff083.x \u7248\uff09\u5c0d\u61c9\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"PHPStorm_Debug.png\" height=\"534\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1655113208-1770348871-g.png?v=1655113208\" title=\"PHPStorm_Debug.png\" width=\"660\"><\/p>\n<p>\u63a5\u8457\u6ce8\u610f\u53f3\u4e0a\u89d2\u6709\u500b\u300cAdd Configuration&#8230;\u300d\u5c0f\u65b9\u6846\uff0c\u53f3\u908a\u6709\u500b\u7d05\u7da0\u7684\u5c0f\u5716\u793a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"134\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1553418200-1740394679.png\" title=\"\" width=\"334\"><\/p>\n<p>\u7d05\u7da0\u5716\u793a\u9ede\u64ca\u6210\u5168\u90e8\u90fd\u7da0\u8272<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"33\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552167766-1519171888.png\" title=\"\" width=\"255\"><\/p>\n<p>\u63a5\u8457\u9ede\u64ca \u300cAdd Configuration&#8230;\u300d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"354\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1553418408-2008716459.png\" title=\"\" width=\"566\"><\/p>\n<p>\u5de6\u4e0a\u89d2\u6709\u500b + \u865f\uff0c\u9ede\u64ca\u4e00\u4e0b\u65b0\u589e\uff0c\u4e0b\u62c9\u5230\u300cPHP Web Page\u300d\u9805\u76ee<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"548\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552167864-2251444725.png\" title=\"\" width=\"205\"><\/p>\n<p>Name \u96a8\u4fbf\u53d6\u4e00\u500b\u540d\u5b57\uff0c Server \u4e0b\u62c9\u9078\u64c7\u4e00\u958b\u59cb\u5efa\u7acb\u7684\u4f3a\u670d\u5668\u8a2d\u5b9a\uff08 Server -&gt; localhost\uff09\uff0c\u6309 Apply -&gt; OK \u5373\u53ef\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"541\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1553418678-723979658.png\" title=\"\" width=\"600\"><\/p>\n<p>\u9019\u6a23\u5c31\u5b8c\u6210\u4e86 Xdebug \u7684\u65b7\u9ede\u8ffd\u8e64\u8a2d\u5b9a\u3002<\/p>\n<p>7. \u6e2c\u8a66\uff1a<\/p>\n<p>\u958b\u555f php \u5c08\u6848\u4e4b\u5f8c\uff0c\u5728\u9810\u671f\u6703\u57f7\u884c\u7684\u7a0b\u5f0f\u4e2d\u96a8\u4fbf\u627e\u4e00\u884c\u7a0b\u5f0f\uff0c\u8a2d\u5b9a\u4e00\u500b\u65b7\u9ede\uff08\u5982\u4e0b\u5716\u7684 22 \u6578\u5b57\u53f3\u908a\u7a7a\u767d\u8655\u9ede\u64ca\u4e00\u4e0b\u5247\u51fa\u73fe\u7d05\u9ede\uff0c\u5373\u8a2d\u5b9a\u5b8c\u6210\uff09\uff0c\u7136\u5f8c\u9ede\u64ca\u53f3\u4e0a\u7684\u87f2\u7b26\u865f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"160\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552168312-1265876236.png\" title=\"\" width=\"322\"><\/p>\n<p>\u64cd\u4f5c PHP \u7db2\u9801\uff0c\u8b93\u7a0b\u5f0f\u8dd1\u5230\u65b7\u9ede\u9019\u4e00\u884c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"273\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1552168993-2810068933_n.png\" title=\"\" width=\"600\"><\/p>\n<p>\u5982\u4e0a\u5716\uff0cPHP \u7a0b\u5f0f\u6703\u505c\u5728\u9019\u4e00\u884c\uff0c\u4e26\u4e14\u6703\u986f\u793a\u57f7\u884c\u5230\u9019\u4e00\u884c\u4e4b\u5f8c\uff0c\u6bcf\u4e00\u500b\u8b8a\u6578\u7684\u5167\u5bb9\u503c\u3002<\/p>\n<p>\u6700\u795e\u5947\u7684\u7684\u662f\u652f\u63f4\u81ea\u8a02\u985e\u5225\u7684\u8b8a\u6578\u3002\u6ed1\u9f20\u79fb\u52d5\u5230\u8b8a\u6578\u4e0a\uff0c\u5c55\u958b\u5f8c\u8b8a\u6578\u5167\u5bb9\u90fd\u80fd\u5168\u90e8\u986f\u793a\u51fa\u4f86\u3002<\/p>\n<p>\u5982\u6b64\u4e00\u4f86\uff0c\u958b\u767c PHP \u5c31\u5982\u540c\u4f7f\u7528\u719f\u6089\u7684 Visual Studio \/ Xcode \u7684\u958b\u767c\u74b0\u5883\u4e00\u6a23\u65b9\u4fbf\uff0c\u90a3\u4e9b\u300c\bNotepad++ \u958b\u767c PHP\u300d \b\uff0c\u300c\b\u8a18\u4e8b\u672c\u958b\u767c PHP\u300d\uff0c\u7559\u7d66\u795e\u4eba\u53bb\u505a\u5c31\u597d\u4e86\u3002\b\b\b<\/p>\n<p>\u8aaa\u5230\u5e95\uff0c\u4e0d\u5c11\u6280\u8853\u5fc3\u5f97\u7684\u5206\u4eab\u6587\u7ae0\uff0c\u906d\u5230\u53bb\u982d\u5c3e\u518d\u6d41\u5230\u5783\u573e\u8fb2\u5834\u6563\u64ad\u51fa\u53bb\uff0c\u6216\u662f\u4f5c\u8005\u5206\u4eab\u7d66\u540c\u6c34\u6e96\u8b80\u8005\u6642\u52a0\u5165\u53cd\u4e32\u6897\uff0c\u53ea\u662f\u6c92\u8aaa\u6e05\u695a\u9019\u4e9b\u60c5\u6cc1\u6642\uff0c\u53cd\u800c\u9020\u6210\u65b0\u624b\u589e\u52a0\u5b78\u7fd2\u8ca0\u64d4\uff0c\u751a\u81f3\u591a\u7e5e\u4e86\u5e7e\u5e74\u9060\u8def\u3002\u4e0d\u8ad6\u5982\u4f55\uff0c\u6211\u7684 PHP \u9019\u689d\u8def\uff0c\u7e5e\u4e86\u5f88\u591a\u5e74\u4e4b\u5f8c\uff0c\u5982\u4eca\u4e5f\u7b97\u662f\u7e5e\u56de\u6b63\u8def\u4e86\u3002<\/p>\n<p>\u7e7c\u7e8c\u95b1\u8b80\uff1a<a href=\"https:\/\/benjenq.pixnet.net\/blog\/post\/47287566\" target=\"_blank\">\u4f7f\u7528 Visual Studio Code \u6293 PHP \u81ed\u87f2<\/a><\/p>\n<p><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><script src=\"chrome-extension:\/\/hhojmcideegachlhfgfdhailpfhgknjm\/web_accessible_resources\/index.js\"><\/script><\/p>\n<div id=\"gtx-anchor\" style=\"position: absolute; visibility: hidden; left: 85px; top: 5919.6px; width: 224.413px; height: 18.3999px;\">&nbsp;<\/div>\n<div style=\"position: absolute; visibility: hidden; left: 85px; top: 5919.6px; width: 224.413px; height: 18.3999px;\">&nbsp;<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u51fa\u793e\u6703\u9019\u4e9b\u5e74\u5beb\u904e\u7684\u7a0b\u5f0f\u8a9e\u8a00\u4e5f\u7b97\u4e0d\u5c11\uff0c\u7b2c\u4e00\u4efd\u5de5\u4f5c\u5c31\u662f Oracle \/ D2K \/ Form 6i\uff0c\u7528\u904e\u7684\u4eba\u90fd\u8aaa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[51],"tags":[],"class_list":["post-3838","post","type-post","status-publish","format-standard","hentry","category-51"],"_links":{"self":[{"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/posts\/3838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/comments?post=3838"}],"version-history":[{"count":0,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/posts\/3838\/revisions"}],"wp:attachment":[{"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/media?parent=3838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/categories?post=3838"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/tags?post=3838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}