{"id":681,"date":"2021-11-18T04:20:00","date_gmt":"2021-11-18T04:20:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=681"},"modified":"2021-11-18T04:20:00","modified_gmt":"2021-11-18T04:20:00","slug":"681","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/11\/18\/681\/","title":{"rendered":"PHP \u5728 Windows \u4e0b\u7684\u547d\u4ee4\u884c\u65b9\u5f0f\uff0c\u5e38\u7528\u7ec8\u7aef\u6bd4\u8f83: VSCode_PowerShell_Git-Bash_Xshell"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/11\/3244798086.jpg\" alt=\"php.jpg\" title=\"php.jpg\"><\/p>\n<p>\u8981\u5728\u547d\u4ee4\u884c\u4e0b\u8fd0\u884c PHP\uff0c\u53ef\u4ee5\u65e0\u9700\u5bf9 Windows \u505a\u4efb\u4f55\u6539\u52a8\u3002<\/p>\n<p>\u4e0b\u8f7d <a href=\"https:\/\/wwe.lanzoui.com\/iZvuZwl6xli\">php-7.3.29-nts-Win32-VC15-x64.zip<\/a> \u89e3\u538b\u5230\u786c\u76d8\u6839\u76ee\u5f55<br \/>\u73af\u5883\u53d8\u91cf <code>PATH<\/code> \u91cc\u6dfb\u52a0 <code>php.exe<\/code> \u6240\u5728\u76ee\u5f55  <code>C:php<\/code><\/p>\n<p>PHP \u547d\u4ee4\u884c(CLI)\u811a\u672c\u4f7f\u7528\u5f69\u8272\u7740\u8272\u7c7b: PHP Class for Coloring PHP Command Line (CLI) Scripts Output<br \/><a href=\"https:\/\/www.lyvba.com\/index.php\/archives\/674\/\">https:\/\/www.lyvba.com\/index.php\/archives\/674\/<\/a><\/p>\n<h2>VSCode \u7f16\u8f91php\u6e90\u6587\u4ef6\uff0c\u4f7f\u7528 <code>Run Code<\/code> \u63d2\u4ef6\u547d\u4ee4\u884c\u89e3\u91caphp\u6587\u4ef6\uff0c\u4e0d\u652f\u6301\u663e\u793a\u5f69\u8272\u6587\u672c<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/11\/1951340093.webp\" alt=\"php-vscode.webp\" title=\"php-vscode.webp\"><\/p>\n<h2>\u5fae\u8f6f PowerShell \u7ec8\u7aef\u8c03\u7528\uff0c\u547d\u4ee4\u884c\u8f93\u5165: <code>php colors.php<\/code> \uff0c\u4e5f\u4e0d\u652f\u6301\u663e\u793a\u5f69\u8272\u6587\u672c<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/11\/3607734703.png\" alt=\"php-powershell.png\" title=\"php-powershell.png\"><\/p>\n<h2>Git-Bash \u5f00\u542f MINGW64 \u7ec8\u7aef\uff0c<code>php colors.php<\/code> \u9ed8\u8ba4\u4e0d\u652f\u6301\u663e\u793a\u5f69\u8272\u6587\u672c<\/h2>\n<pre><code>alias php='\/c\/php\/php'\nphp colors.php<\/code><\/pre>\n<h3>MINGW64 \u7ec8\u7aef\u4f7f\u7528 alias \u540e\u4f7f\u7528linux\u8def\u5f84\u8c03\u7528php\uff0c\u80fd\u6b63\u786e\u663e\u793a\u5f69\u8272\u6587\u672c<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/11\/2479665188.png\" alt=\"php-git-bash.png\" title=\"php-git-bash.png\"><\/p>\n<h2>Xshell \u5de5\u5177\u5185\u5d4c\u7ec8\u7aef\u6bd4\u8f83\u5947\u8469\uff0c\u4f7f\u7528Windows\u8def\u5f84\uff0c\u4f46\u662f\u80fd\u6b63\u786e\u663e\u793a\u5f69\u8272\u6587\u672c<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/11\/2489761714.png\" alt=\"php-xshell.png\" title=\"php-xshell.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u5728\u547d\u4ee4\u884c\u4e0b\u8fd0\u884c PHP\uff0c\u53ef\u4ee5\u65e0\u9700\u5bf9 Windows \u505a\u4efb\u4f55\u6539\u52a8\u3002 \u4e0b\u8f7d php-7.3.29-nt [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[34],"class_list":["post-681","post","type-post","status-publish","format-standard","hentry","category-learn","tag-php"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=681"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/681\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}