{"id":1138,"date":"2020-08-29T23:26:48","date_gmt":"2020-08-29T14:26:48","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=1138"},"modified":"2020-09-12T13:59:40","modified_gmt":"2020-09-12T04:59:40","slug":"%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9f%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e4%bd%9c%e3%82%8a%e3%81%9f%e3%81%84%e2%91%a2-php%e3%81%ae%e7%b0%a1","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2020\/08\/29\/1138\/","title":{"rendered":"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f7f\u3063\u305f\u30b5\u30a4\u30c8\u3092\u4f5c\u308a\u305f\u3044\u2462 PHP\u306e\u7c21\u6613\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb"},"content":{"rendered":"<h1>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u8a00\u8a9e<\/h1>\n<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u8a00\u8a9e\u3063\u3066\u4f55\u304c\u3042\u308b\u3093\u3060\u308d\u3046\u306a\u30fc\u3063\u3066\u3001\u5b58\u5728\u3092\u77e5\u3063\u3066\u308b\u306e\u306fPHP\u3068Ruby\u3068Perl\u3068Java Servlet\u3068\u304b\u2026\uff1f\u3053\u308c\u304c\u5408\u3063\u3066\u308b\u306e\u304b\u3059\u3089\u5206\u304b\u3089\u3093\u3002\u306a\u3093\u306b\u3057\u3088\u3046\u304b\u306a\u30fc\u3063\u3066\u601d\u3063\u305f\u3093\u3060\u3051\u3069PHP\u3067\u3044\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\u3002\u521d\u5fc3\u8005\u3067\u3082\u3067\u304d\u308b\uff01\u3068\u304b\u9069\u5f53\u306b\u66f8\u3044\u3066\u3082\u52d5\u304f\uff01\u3068\u304b\u8a00\u308f\u308c\u3066\u308b\u307f\u305f\u3044\u306a\u306e\u3067\u81ea\u5206\u3067\u3082\u3067\u304d\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u306a\u3041\u3063\u3066\u601d\u3063\u305f\u304b\u3089\u3002<\/p>\n<h2>\u6e96\u5099<\/h2>\n<p>\u3069\u3046\u3044\u3046\u611f\u3058\u3067\u52d5\u304f\u3093\u3060\u308d\u3046\u3068\u8abf\u3079\u3066\u307f\u305f\u3089\u3001HTML\u5185\u306b\u66f8\u3044\u3066\u3001Apache\u304c\u5165\u3063\u3066\u308b\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b.php\u3063\u3066\u62e1\u5f35\u5b50\u3067\u4fdd\u5b58\u3057\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u3068php\u304c\u5b9f\u884c\u3055\u308c\u3066\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u51e6\u7406\u3055\u308c\u3066\u3001php\u306e\u30bd\u30fc\u30b9\u306f\u7701\u3044\u305f\u72b6\u614b\u3067\u30ec\u30b9\u30dd\u30f3\u30b9\u8fd4\u3059\u3001\u307f\u305f\u3044\u306a\u3002\u3078\u30fc\u3002\u3058\u3083\u3042\u5225\u306b\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c9\u66f8\u3044\u3066\u30a2\u30c3\u30d7\u3059\u308a\u3083\u305d\u308c\u3067\u3044\u3044\u3093\u3060\u306a\u3041\u3063\u3066\u601d\u3063\u305f\u3051\u3069\u3001\u306a\u3093\u304b\u30c4\u30e9\u305d\u3046\u306a\u6c17\u304c\u3057\u305f\u306e\u3067VSC\u3092\u4f7f\u3046\u3002\u4ed6\u306e\u30a8\u30c7\u30a3\u30bf\u4f7f\u3044\u305f\u3044\u5834\u5408<a href=\"https:\/\/en.wikipedia.org\/wiki\/List_of_PHP_editors\">\u3053\u3053<\/a>\u3068\u304b\u304b\u3089\u63a2\u3059\u3068\u3044\u3044\u3089\u3057\u3002<\/p>\n<h3>Cannot validate since no PHP executable is set. Use the setting &#8216;php.validate.executablePath&#8217; to configure the PHP executable.<\/h3>\n<p>\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30cf\u30a4\u30e9\u30a4\u30c8\u306f\u52b9\u3044\u3066\u308b\u6c17\u304c\u3059\u308b\u3093\u3060\u3051\u3069\u3001\u3053\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u305f\u306e\u3067\u3068\u308a\u3042\u3048\u305aphp\u3092\u843d\u3068\u3057\u3066\u304f\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.php.net\/downloads\">https:\/\/www.php.net\/downloads<\/a><\/p>\n<p>\u306eWindows\u304b\u3089\u3001x64\u306e\u30b9\u30ec\u30c3\u30c9\u30bb\u30fc\u30d5\u306e\u3084\u3064\u306b\u3057\u305f\u3002\u9055\u3044\u306f\u7406\u89e3\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u9069\u5f53\u306a\u5834\u6240\u306b\u89e3\u51cd\u3057\u3066setting.json\u306b\u30d1\u30b9\u3092\u6307\u5b9a\u3059\u308c\u3070\u3044\u3044\u307f\u305f\u3044\u3002<\/p>\n<pre><code class=\"json\">\"php.validate.executablePath\": \"**\\\\php.exe\"<\/code><\/pre>\n<p>\u307f\u305f\u3044\u306a\u3002\u30d1\u30b9\u533a\u5207\u308a\u6587\u5b57\u306f\u30a8\u30b9\u30b1\u30fc\u30d7\u3057\u306a\u3044\u3068\u30c0\u30e1\u3060\u3063\u3066\u3055\u3002<\/p>\n<h3>PHP IntelliSense<\/h3>\n<p>\u30b3\u30fc\u30c9\u88dc\u5b8c\u7684\u306a\u3082\u306e\u306f\u7121\u3044\u304b\u306a\u30fc\uff1f\u3068\u63a2\u3057\u3066\u307f\u305f\u3089<\/p>\n<p><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=felixfbecker.php-intellisense\">https:\/\/marketplace.visualstudio.com\/items?itemName=felixfbecker.php-intellisense<\/a><\/p>\n<p>\u304c\u3042\u3063\u305f\u3002\u4f7f\u304a\u3046\u3068\u601d\u3063\u305f\u3093\u3060\u3051\u3069\u30ec\u30d3\u30e5\u30fc\u898b\u305f\u3089\u3081\u3063\u3061\u3083\u53e9\u304b\u308c\u3066\u308b\u3057\u3001\u66f4\u65b0\u3082\u6b62\u307e\u3063\u3066\u308b\u307f\u305f\u3044\u3002\u4e00\u5fdc\u4f7f\u3063\u3066\u307f\u305f\u3089\u81ea\u5206\u3060\u3068Loading\u2026\u3067\u305a\u3063\u3068\u6b62\u307e\u3063\u305f\u307e\u307e\u3068\u304b\u306b\u306a\u308b\u3002\u306a\u306e\u3067\u9055\u3046\u306e\u306b\u3059\u308b\u3002<\/p>\n<h3>PHP Intelephense<\/h3>\n<p>\u3063\u3066\u3044\u3046\u306e\u304c\u3042\u308b\u307f\u305f\u3044\u3002<\/p>\n<p><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=bmewburn.vscode-intelephense-client\">https:\/\/marketplace.visualstudio.com\/items?itemName=bmewburn.vscode-intelephense-client<\/a><\/p>\n<p><a href=\"https:\/\/intelephense.com\/\">https:\/\/intelephense.com\/<\/a><\/p>\n<p>\u30d7\u30ec\u30df\u30a2\u30e0\u8cfc\u5165\u3057\u3066\u306d\u30a2\u30ca\u30a6\u30f3\u30b9\u304c\u51fa\u308b\u3089\u3057\u3044\u3051\u3069\u3001\u6982\u306d\u597d\u8a55\u3063\u307d\u3044\u306e\u3067\u3053\u3063\u3061\u4f7f\u3063\u3066\u307f\u308b\u3002<\/p>\n<h4>\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8<\/h4>\n<ol>\n<li>Extensions\u3092\u958b\u304f\u3002<\/li>\n<li>@builtin php\u3067\u691c\u7d22<\/li>\n<li>PHP Language Features\u3092\u7121\u52b9\u5316\u3059\u308b\u3002PHP Language Basics\u306f\u305d\u306e\u307e\u307e\u3002(\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30cf\u30a4\u30e9\u30a4\u30c8\u306e\u305f\u3081\u306b)<\/li>\n<li>settings\u306efiles.associations\u306bitem &#8220;*.module&#8221; value &#8220;php&#8221;\u3092\u8ffd\u52a0\u3002<\/li>\n<\/ol>\n<p>\u306a\u3093\u306e\u305f\u3081\u306b\u3084\u308b\u306e\u304b\u306f\u5206\u304b\u3063\u3066\u306a\u3044\u3051\u3069\u3001\u3084\u3063\u3066\u306d\u3063\u3066\u3053\u3068\u306a\u306e\u3067\u3084\u3063\u3066\u307f\u305f\u3002<\/p>\n<p>\u2026\u3067\u4f7f\u3063\u3066\u307f\u305f\u3093\u3060\u3051\u3069\u3001\u3046\u30fc\u3093\u3001\u3069\u3046\u306a\u3093\u3060\u308d\u3046\u3002\u3069\u3046\u306a\u3093\u3067\u3059\u304b\uff1f\u3076\u3063\u3061\u3083\u3051\u521d\u5fc3\u8005\u3059\u304e\u3066\u3069\u3046\u9055\u304f\u306a\u3063\u305f\u306e\u304b\u3088\u304f\u5206\u304b\u3093\u306a\u3044\u3002\u3002\u3002\u3044\u3044\u304b\u306a\u3001\u3069\u3063\u3061\u3082\u5165\u308c\u306a\u304f\u3066\u3082\u2026\u3002\u3069\u3046\u305b\u4f7f\u3044\u3053\u306a\u305b\u306a\u3044\u3060\u308d\u3046\u3057\u2026\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3069\u3063\u3061\u3082\u6d88\u3057\u305f\u3002<\/p>\n<h2>Hello World<\/h2>\n<p><a href=\"https:\/\/www.php.net\/manual\/ja\/tutorial.php\">https:\/\/www.php.net\/manual\/ja\/tutorial.php<\/a><\/p>\n<p>\u3053\u3053\u306b\u8f09\u3063\u3066\u305fhello.php\u3092\u4f5c\u3063\u3066\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30c3\u30d7\u3057\u3066\u307f\u305f\u3002<\/p>\n<p><a href=\"https:\/\/dalomo.net\/shogi\/hello.php\">https:\/\/dalomo.net\/shogi\/hello.php<\/a><\/p>\n<p>\u304a\u30fc\u3001\u3061\u3083\u3093\u3068\u8868\u793a\u3055\u308c\u3066\u308b\uff5e\u3002\u30bd\u30fc\u30b9\u898b\u3066\u3082PHP\u306e\u30bd\u30fc\u30b9\u306f\u6b8b\u3063\u3066\u306a\u3044\u3002\u3059\u3054\u3044\u306a\u3041\u3002\u3053\u306e\u5f8c<\/p>\n<pre><code class=\"php\">phpinfo();<\/code><\/pre>\n<p>\u3082\u3084\u3063\u3066\u307f\u3066\u3001\u3061\u3083\u3093\u3068\u8868\u793a\u3055\u308c\u3066\u305f\uff01\u3044\u3048\u30fc\u3044\u3002\u3042\u3068\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u8f09\u3063\u3066\u305f\u30d5\u30a9\u30fc\u30e0\u3082\u4f5c\u3063\u3066\u307f\u305f\u3002\u30b3\u30d4\u30da\u3060\u3051\u3069\u3002<\/p>\n<p><a href=\"https:\/\/dalomo.net\/shogi\/info.php\">https:\/\/dalomo.net\/shogi\/info.php<\/a><\/p>\n<p>\u3061\u3083\u3093\u3068\u52d5\u304f\u306d\u3002\u3059\u3054\u3044\u3084\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u8a00\u8a9e \u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u8a00\u8a9e\u3063\u3066\u4f55\u304c\u3042\u308b\u3093\u3060\u308d\u3046\u306a\u30fc\u3063\u3066\u3001\u5b58\u5728\u3092\u77e5\u3063\u3066\u308b\u306e\u306fPHP\u3068Ruby\u3068Perl\u3068Java Servlet\u3068\u304b\u2026\uff1f\u3053\u308c\u304c\u5408\u3063\u3066\u308b\u306e\u304b\u3059\u3089\u5206\u304b\u3089\u3093\u3002\u306a\u3093\u306b\u3057\u3088\u3046\u304b\u306a\u30fc\u3063\u3066\u601d\u3063\u305f\u3093\u3060\u3051\u3069PHP &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2020\/08\/29\/1138\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[122,125],"class_list":["post-1138","post","type-post","status-publish","format-standard","hentry","category-8","tag-php","tag-125"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=1138"}],"version-history":[{"count":3,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1138\/revisions"}],"predecessor-version":[{"id":1141,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1138\/revisions\/1141"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=1138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=1138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=1138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}