{"id":2210,"date":"2024-03-21T15:00:09","date_gmt":"2024-03-21T06:00:09","guid":{"rendered":"https:\/\/www.miraiserver.ne.jp\/column\/?p=2210"},"modified":"2025-08-18T16:51:34","modified_gmt":"2025-08-18T07:51:34","slug":"about_php-run-method","status":"publish","type":"post","link":"https:\/\/www.miraiserver.ne.jp\/column\/about_php-run-method\/","title":{"rendered":"\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011PHP\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\uff01"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-4457\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/PHP\u5b9f\u884c\u65b9\u6cd5-640x360.webp\" alt=\"\" width=\"900\" height=\"507\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/PHP\u5b9f\u884c\u65b9\u6cd5-640x360.webp 640w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/PHP\u5b9f\u884c\u65b9\u6cd5-300x169.webp 300w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/PHP\u5b9f\u884c\u65b9\u6cd5.webp 650w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><strong>PHP<\/strong>\u306fWeb\u958b\u767a\u306e\u4e16\u754c\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u304c\u3001\u521d\u5fc3\u8005\u306b\u3068\u3063\u3066\u305d\u306e\u5b9f\u884c\u65b9\u6cd5\u306f\u6642\u306b\u8907\u96d1\u306b\u611f\u3058\u3089\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u672c\u8a18\u4e8b\u3067\u306f\u3001PHP\u306e\u57fa\u672c\u7684\u306a\u5b9f\u884c\u65b9\u6cd5\u304b\u3089\u3001\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u305f\u5b9f\u884c\u65b9\u6cd5\u306b\u81f3\u308b\u307e\u3067\u3001\u5e45\u5e83\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span><\/p>\n<p>PHP\u3092\u6271\u3046\u4e0a\u3067\u5fc5\u8981\u306a\u57fa\u790e\u77e5\u8b58\u3092\u8eab\u306b\u3064\u3051\u3001<span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\"><strong>\u52b9\u7387\u7684<\/strong>\u306bWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3059\u308b\u305f\u3081\u306b\u3001\u3053\u306e\u8a18\u4e8b\u3092\u305c\u3072\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<div class=\"well2\" style=\"text-align: center;\">\n<p><strong>VPS<\/strong>\u306a\u3089<strong style=\"font-size: 16px;\"><span style=\"color: #339966;\">\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc<br \/>\n<\/span><\/strong><strong><span style=\"color: #ff0000;\">\uff3c2\u9031\u9593\u7121\u6599\u30fb\u5168\u30d7\u30e9\u30f3SSD\u642d\u8f09\uff0f<\/span><br \/>\n<a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=article-frame&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener\">\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u3092\u7121\u6599\u3067\u8a66\u3059<\/a><\/strong><\/p>\n<\/div>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u76ee\u6b21<\/p><ul class=\"toc_list\"><li><a href=\"#PHP\"><span class=\"toc_number toc_depth_1\">1<\/span> PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580<\/a><ul><li><a href=\"#PHP-2\"><span class=\"toc_number toc_depth_2\">1.1<\/span> PHP\u306e\u57fa\u672c\u6982\u5ff5<\/a><\/li><li><a href=\"#PHP-3\"><span class=\"toc_number toc_depth_2\">1.2<\/span> PHP\u306e\u958b\u767a\u74b0\u5883<\/a><\/li><\/ul><\/li><li><a href=\"#PHP-4\"><span class=\"toc_number toc_depth_1\">2<\/span> PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u57fa\u672c\u7684\u306a\u5b9f\u884c\u65b9\u6cd5<\/a><ul><li><a href=\"#PHP-5\"><span class=\"toc_number toc_depth_2\">2.1<\/span> \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306ePHP\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/a><\/li><li><a href=\"#WebPHP\"><span class=\"toc_number toc_depth_2\">2.2<\/span> Web\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u305fPHP\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/a><\/li><\/ul><\/li><li><a href=\"#IDEPHP\"><span class=\"toc_number toc_depth_1\">3<\/span> IDE\u3092\u4f7f\u7528\u3057\u305fPHP\u5b9f\u884c<\/a><ul><li><a href=\"#PHP-6\"><span class=\"toc_number toc_depth_2\">3.1<\/span> PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30d0\u30c3\u30b0\u3068\u5b9f\u884c<\/a><\/li><\/ul><\/li><li><a href=\"#PHP-7\"><span class=\"toc_number toc_depth_1\">4<\/span> PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9ad8\u5ea6\u306a\u5b9f\u884c\u65b9\u6cd5<\/a><ul><li><a href=\"#i\"><span class=\"toc_number toc_depth_2\">4.1<\/span> \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u3092\u4f7f\u7528\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/a><\/li><li><a href=\"#PHP-8\"><span class=\"toc_number toc_depth_2\">4.2<\/span> \u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3055\u308c\u305f\u30bf\u30b9\u30af\u3068\u3057\u3066\u306ePHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c<\/a><\/li><\/ul><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">5<\/span> \u307e\u3068\u3081<\/a><\/li><li><a href=\"#VPS\"><span class=\"toc_number toc_depth_1\">6<\/span> VPS\u306a\u3089\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc<\/a><\/li><\/ul><\/div>\n<h2 class=\"styled_h2\"><span id=\"PHP\">PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580<\/span><\/h2>\n<h3 class=\"styled_h3\"><span id=\"PHP-2\">PHP\u306e\u57fa\u672c\u6982\u5ff5<\/span><\/h3>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\"><strong>PHP\uff08Hypertext Preprocessor\uff09<\/strong>\u306f\u3001Web\u958b\u767a\u306b\u7279\u5316\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u3059\u3002<\/span><\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u4e3b\u306bWeb\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u3067<strong>\u52d5\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4<\/strong>\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n<p>PHP\u306b\u306f\u4ee5\u4e0b\u306e\u7279\u9577\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n<table id=\"tablepress-103\" class=\"tablepress tablepress-id-103\">\n<thead>\n<tr class=\"row-1 odd\">\n\t<th class=\"column-1\">\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9<\/th><th class=\"column-2\">\u7121\u511f\u3067\u5229\u7528\u3067\u304d\u308b<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2 even\">\n\t<td class=\"column-1\">\u52d5\u7684\u578b\u4ed8\u3051\u8a00\u8a9e<\/td><td class=\"column-2\">\u30c7\u30fc\u30bf\u306e\u7a2e\u985e\u3092\u6c7a\u3081\u308b\u5fc5\u8981\u304c\u306a\u3044<\/td>\n<\/tr>\n<tr class=\"row-3 odd\">\n\t<td class=\"column-1\">Web\u958b\u767a\u306b\u7279\u5316<\/td><td class=\"column-2\">\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u5145\u5b9f\u3057\u3066\u3044\u308b<\/td>\n<\/tr>\n<tr class=\"row-4 even\">\n\t<td class=\"column-1\">\u6a5f\u80fd\u304c\u5145\u5b9f<\/td><td class=\"column-2\">\u591a\u304f\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30b5\u30dd\u30fc\u30c8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-103 from cache -->\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u3053\u308c\u306b\u3088\u308a\u3001Web\u30b5\u30fc\u30d3\u30b9\u3084Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u304a\u3044\u3066<strong>\u9ad8\u3044\u4eba\u6c17<\/strong>\u3092\u8a87\u3063\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u307e\u305f\u3001HTML\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u51e6\u7406\u3092\u884c\u3063\u305f\u5f8c\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306bHTML\u3068\u3057\u3066\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p>\u3053\u306e\u52d5\u4f5c\u306b\u3088\u308a\u52d5\u7684\u306aWeb\u30da\u30fc\u30b8\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>PHP\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u3042\u308f\u305b\u3066\u5fa1\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"cardlink\">\r\n    <a class=\"image\" href=\"https:\/\/www.miraiserver.ne.jp\/column\/about_php\/\">\r\n     <img src=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/02\/\u5dee\u3057\u66ff\u3048\u7528-16\u6e08.webp\">\r\n    <\/a>\r\n    <div class=\"content\">\r\n     <div class=\"title_area\">\r\n      <p class=\"date\">2024.02.15<\/p>\r\n      <h4 class=\"title\">\r\n       <a href=\"https:\/\/www.miraiserver.ne.jp\/column\/about_php\/\">PHP\u3068\u306f\u3002\u4eba\u6c17\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u57fa\u672c\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01<\/a>\r\n      <\/h4>\r\n     <\/div>\r\n     <p class=\"desc\"><span>\r\n\r\nPHP\u306f\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u304a\u3044\u3066\u4eba\u6c17\u306e\u9ad8\u3044\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u3002\r\n\r\n\u52d5\u7684\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u5229\u7528...<\/span><\/p>\r\n    <\/div>\r\n   <\/div>\n\n<h3 class=\"styled_h3\"><span id=\"PHP-3\">PHP\u306e\u958b\u767a\u74b0\u5883<\/span><\/h3>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">PHP\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3092\u884c\u3046\u306b\u306f\u3001\u9069\u5207\u306a\u958b\u767a\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u5fc5\u8981\u3067\u3059\u3002<\/span><\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3001\u307e\u305f\u306fIDE<span style=\"color: #333333;\">\uff08\u7d71\u5408\u958b\u767a\u74b0\u5883\uff09<\/span><\/li>\n<li>Web\u30b5\u30fc\u30d0\u30fc<span style=\"color: #333333;\">\uff08\u4f8b\uff1aApache\u3001Nginx\u306a\u3069\uff09<\/span><\/li>\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc<span style=\"color: #333333;\">\uff08\u4f8b\uff1aMySQL\u3001MariaDB\u306a\u3069\uff09<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.winserver.ne.jp\/column\/about_mariadb\/\" target=\"_blank\" rel=\"noopener\">Winserver\uff1aMariaDB\u3068\u306f\uff1fMySQL\u3068\u306e\u9055\u3044\u3084\u3001\u7279\u5fb4\u30fb\u5f37\u307f\u306a\u3069\u3092\u3054\u7d39\u4ecb<\/a><\/span><\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u3053\u306e\u3088\u3046\u306a\u958b\u767a\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u3059\u308b\u969b\u306f\u3001XAMPP\u3084MAMP\u3001WAMP\u306e\u3088\u3046\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5229\u7528\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/span><\/p>\n<p>\u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001<span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">WAMP\u3067\u3042\u308c\u3070Windows\u3001MAMP\u3067\u3042\u308c\u3070MacOS\u3001XAMPP\u306fLinux<\/span>\u3068\u3044\u3063\u305f\u5f62\u3067\u5404OS\u306b\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u3092\u5927\u5e45\u306b\u7c21\u5358\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u5f8c\u3001\u7c21\u5358\u306aPHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u3092\u901a\u3058\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u3001\u8a2d\u5b9a\u306e\u6b63\u3057\u3055\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u521d\u5fc3\u8005\u306b\u3068\u3063\u3066\u306f\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u901a\u3058\u3066PHP\u3068\u305d\u306e\u5b9f\u884c\u74b0\u5883\u306b\u6163\u308c\u308b\u3053\u3068\u304c\u3001\u5b66\u7fd2\u306e\u7b2c\u4e00\u6b69\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">PHP\u306e\u958b\u767a\u74b0\u5883\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u3042\u308f\u305b\u3066\u5fa1\u89a7\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<div class=\"cardlink\">\r\n    <a class=\"image\" href=\"https:\/\/www.miraiserver.ne.jp\/column\/about_php-install-method\/\">\r\n     <img src=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2025\/08\/PHP\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5.webp\">\r\n    <\/a>\r\n    <div class=\"content\">\r\n     <div class=\"title_area\">\r\n      <p class=\"date\">2024.02.29<\/p>\r\n      <h4 class=\"title\">\r\n       <a href=\"https:\/\/www.miraiserver.ne.jp\/column\/about_php-install-method\/\">PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068\u521d\u671f\u8a2d\u5b9a\u3092\u89e3\u8aac\uff01(Windows,Linux)<\/a>\r\n      <\/h4>\r\n     <\/div>\r\n     <p class=\"desc\"><span>\r\nPHP\u3092\u4f7f\u3063\u3066\u52d5\u7684\u306aWeb\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u767a\u3092\u59cb\u3081\u308b\u305f\u3081\u306b\u306f\u3001\u6700\u521d\u306b\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\r\n\r\n\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001...<\/span><\/p>\r\n    <\/div>\r\n   <\/div>\n\n<p style=\"text-align: center;\"><span style=\"color: #008080;\"><strong>\uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f<\/strong><\/span><br \/>\n<a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=btn-vps&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener noreferrer\">VPS\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n<h2 class=\"styled_h2\"><span id=\"PHP-4\">PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u57fa\u672c\u7684\u306a\u5b9f\u884c\u65b9\u6cd5<\/span><\/h2>\n<p>PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u306b\u306f\u4e3b\u306b\u4e8c\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u4e00\u3064\u76ee\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\uff08CLI\uff09\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3001\u3082\u3046\u4e00\u3064\u306fWeb\u30b5\u30fc\u30d0\u30fc\u3092\u4ecb\u3057\u3066\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/span><\/p>\n<p>\u305d\u308c\u305e\u308c\u306e\u5b9f\u884c\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3 class=\"styled_h3\"><span id=\"PHP-5\">\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306ePHP\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/span><\/h3>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u7c21\u5358\u306b\u5b9f\u884c\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306e\u5b9f\u884c\u304c\u4fbf\u5229\u3067\u3059\u3002<\/span><\/p>\n<p>PHP\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u74b0\u5883\u3067\u3042\u308c\u3070\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u307e\u305f\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001php\u30b3\u30de\u30f3\u30c9\u306b\u7d9a\u3051\u3066\u5b9f\u884c\u3057\u305f\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001hello.php\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b&lt;?php echo &#8220;Hello, World!&#8221;; ?&gt;\u3068\u8a18\u8ff0\u3057\u3066\u4fdd\u5b58\u3057\u305f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u7d50\u679c\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\"><strong>php hello.php<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u306f\u3001Windows\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067hello.php\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u3067\u3059\u3002<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4456\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf4.webp\" alt=\"\" width=\"426\" height=\"120\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf4.webp 426w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf4-300x85.webp 300w\" sizes=\"(max-width: 426px) 100vw, 426px\" \/><\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u3053\u306e\u65b9\u6cd5\u306f\u3001\u7279\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u7ba1\u7406\u3084\u30c6\u30ad\u30b9\u30c8\u51e6\u7406\u306a\u3069\u3001Web\u30d6\u30e9\u30a6\u30b6\u3092\u4ecb\u3055\u305a\u306b\u5b9f\u884c\u3057\u305f\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5bfe\u3057\u3066\u52b9\u679c\u7684\u3067\u3059\u3002<\/span><\/p>\n<h3 class=\"styled_h3\"><span id=\"WebPHP\">Web\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u305fPHP\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/span><\/h3>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">Web\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u3066PHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306f\u3001\u5b9f\u969b\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u304a\u3044\u3066\u6700\u3082\u4e00\u822c\u7684\u3067\u3059\u3002<\/span><\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3001Apache\u3084Nginx\u306a\u3069\u306eWeb\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067PHP\u304c\u8a2d\u5b9a\u3055\u308c\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Web\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u3066PHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001\u307e\u305aPHP\u30d5\u30a1\u30a4\u30eb\u3092Web\u30b5\u30fc\u30d0\u30fc\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\uff08\u901a\u5e38\u306fhtdocs\u3084public_html\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001\u30d6\u30e9\u30a6\u30b6\u3092\u958b\u304d\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308bURL\uff08\u4f8b\u3048\u3070http:\/\/localhost\/hello.php\uff09\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4459\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf2-2.webp\" alt=\"\" width=\"606\" height=\"283\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf2-2.webp 606w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf2-2-300x140.webp 300w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u3053\u306e\u65b9\u6cd5\u306e\u4e3b\u306a\u5229\u70b9\u306f\u3001Web\u30d6\u30e9\u30a6\u30b6\u3092\u901a\u3058\u3066\u76f4\u63a5\u7d50\u679c\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3053\u3068\u3067\u3059\u3002<\/span><\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u51e6\u7406\u3084\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u306a\u3069\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u7279\u6709\u306e\u6a5f\u80fd\u3092\u30c6\u30b9\u30c8\u3059\u308b\u904e\u7a0b\u304c\u7c21\u5358\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u958b\u767a\u74b0\u5883\u3092\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3067\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u304c\u306a\u304f\u3066\u3082\u4f5c\u696d\u3092\u9032\u3081\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p style=\"text-align: center;\"><span style=\"color: #008080;\"><strong>\uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f<\/strong><\/span><br \/>\n<a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=btn-vps&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener noreferrer\">VPS\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n<h2 class=\"styled_h2\"><span id=\"IDEPHP\">IDE\u3092\u4f7f\u7528\u3057\u305fPHP\u5b9f\u884c<\/span><\/h2>\n<h3 class=\"styled_h3\"><span id=\"PHP-6\">PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30d0\u30c3\u30b0\u3068\u5b9f\u884c<\/span><\/h3>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4f5c\u6210\u306f\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u7d71\u5408\u958b\u767a\u74b0\u5883\uff08IDE\uff09\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u958b\u767a\u3068\u30c7\u30d0\u30c3\u30b0\u304c\u5927\u5e45\u306b\u7c21\u5358\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>\u4f8b\u3048\u3070\u3001PhpStorm\u3084Visual Studio Code\u306f\u3001PHP\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-thumbnail wp-image-4460\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf3-587x360.webp\" alt=\"\" width=\"587\" height=\"360\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf3-587x360.webp 587w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf3-300x184.webp 300w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf3.webp 602w\" sizes=\"(max-width: 587px) 100vw, 587px\" \/><\/p>\n<p style=\"text-align: right;\">\uff08\u5f15\u7528\uff1a<a href=\"https:\/\/www.jetbrains.com\/phpstorm\/promo\/\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><span style=\"color: #3366ff; text-decoration: underline;\">PhpStorm<\/span><\/span><\/a>\uff09<\/p>\n<p>\u3053\u308c\u3089\u306eIDE\u306f\u3001\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30cf\u30a4\u30e9\u30a4\u30c8\u3001\u30b3\u30fc\u30c9\u88dc\u5b8c\u3001\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u30c4\u30fc\u30eb\u3001\u30c7\u30d0\u30c3\u30ac\u30fc\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>IDE\u306e\u30c7\u30d0\u30c3\u30ac\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u3092\u4e00\u6642\u505c\u6b62\u3057\u3001\u5909\u6570\u306e\u5024\u3092\u78ba\u8a8d\u3057\u306a\u304c\u3089\u5b9f\u884c\u30d5\u30ed\u30fc\u3092\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u3053\u308c\u306b\u3088\u308a\u3001\u8907\u96d1\u306a\u30d0\u30b0\u3092\u5bb9\u6613\u306b\u7279\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u4fee\u6b63\u3059\u308b\u6642\u9593\u3092\u77ed\u7e2e\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p>\u307e\u305f\u3001\u591a\u304f\u306eIDE\u306fXdebug\u306a\u3069\u306e\u30c7\u30d0\u30c3\u30b0\u30c4\u30fc\u30eb\u3068\u7d71\u5408\u3055\u308c\u3066\u304a\u308a\u3001\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u3084\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30d0\u30c3\u30b0\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">PHP\u958b\u767a\u306e\u305f\u3081\u306eIDE\u306e\u4f7f\u7528\u306f\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u901f\u5ea6\u3068\u7cbe\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u5168\u4f53\u3092\u3088\u308a\u697d\u3057\u304f\u3001\u751f\u7523\u7684\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u307e\u305f\u3001\u30a8\u30e9\u30fc\u306e\u767a\u898b\u3068\u4fee\u6b63\u304c\u8fc5\u901f\u306b\u884c\u3048\u308b\u305f\u3081\u3001\u3088\u308a\u9ad8\u54c1\u8cea\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #008080;\"><strong>\uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f<\/strong><\/span><br \/>\n<a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=btn-vps&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener noreferrer\">VPS\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n<h2 class=\"styled_h2\"><span id=\"PHP-7\">PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9ad8\u5ea6\u306a\u5b9f\u884c\u65b9\u6cd5<\/span><\/h2>\n<h3 class=\"styled_h3\"><span id=\"i\">\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u3092\u4f7f\u7528\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/span><\/h3>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089PHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u3001\u5f15\u6570\u3092\u6e21\u3059\u3053\u3068\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6319\u52d5\u3092\u52d5\u7684\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u3053\u308c\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u8ffd\u52a0\u306e\u30c7\u30fc\u30bf\u3092\u6e21\u3057\u305f\u308a\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u52d5\u4f5c\u3092\u5236\u5fa1\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u308a\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002<\/span><\/p>\n<p>PHP\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001$argv\u3068$argc\u306e2\u3064\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>$argv\u306f\u5f15\u6570\u306e\u914d\u5217\u3092\u4fdd\u6301\u3057\u3001$argc\u306f\u5f15\u6570\u306e\u6570\uff08\u30b9\u30af\u30ea\u30d7\u30c8\u540d\u3092\u542b\u3080\uff09\u3092\u4fdd\u6301\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u53d7\u3051\u53d6\u3063\u3066\u6328\u62f6\u3092\u8fd4\u3059\u30b7\u30f3\u30d7\u30eb\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002<\/p>\n<p class=\"well2\"><strong>&lt;?php<\/strong><br \/>\n<strong>\/\/ goodmorning.php<\/strong><br \/>\n<strong>if ($argc &gt; 1) {<\/strong><br \/>\n<strong>echo &#8220;Good Morning, &#8221; . $argv[1] . &#8220;!\\n&#8221;;<\/strong><br \/>\n<strong>} else {<\/strong><br \/>\n<strong>echo &#8220;Good Morning, unknown person!\\n&#8221;;<\/strong><br \/>\n<strong>}<\/strong><br \/>\n<strong>?&gt;<\/strong><\/p>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092php goodmorning.php Ken\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3059\u308b\u3068\u3001\u201dGood Morning, Ken!\u201d\u3068\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4458\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf1-1.webp\" alt=\"\" width=\"383\" height=\"109\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf1-1.webp 383w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2024\/03\/\u753b\u50cf1-1-300x85.webp 300w\" sizes=\"(max-width: 383px) 100vw, 383px\" \/><\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u3053\u306e\u3088\u3046\u306b\u3001\u5f15\u6570\u3092\u4f7f\u7528\u3059\u308c\u3070\u5f15\u6570\u306b\u5fdc\u3058\u3066\u51e6\u7406\u7d50\u679c\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u30c7\u30fc\u30bf\u3092\u6e21\u3059\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/span><\/p>\n<h3 class=\"styled_h3\"><span id=\"PHP-8\">\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3055\u308c\u305f\u30bf\u30b9\u30af\u3068\u3057\u3066\u306ePHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c<\/span><\/h3>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">OS(\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0)\u306b\u306f\u3001\u5b9a\u671f\u7684\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u30c4\u30fc\u30eb\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p>\u4f8b\u3048\u3070\u3001Linux\u3067\u306fcron\u30b8\u30e7\u30d6\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">PHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9a\u671f\u7684\u306b\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3001cron\u30b8\u30e7\u30d6\u3092\u8a2d\u5b9a\u3059\u308c\u3070\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p>cron\u30b8\u30e7\u30d6\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u307e\u305f\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089crontab -e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066cron\u30c6\u30fc\u30d6\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u5f0f\u3067\u30b8\u30e7\u30d6\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\"><strong>* * * * * \/usr\/bin\/php \/path\/to\/your\/script.php<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u524d\u534a\u306e\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\u306e\u90e8\u5206\u306f\u3001\u5206\u3001\u6642\u3001\u65e5\u3001\u6708\u3001\u9031\u306e\u9806\u306b\u8a2d\u5b9a\u3057\u3001\u7279\u5b9a\u306e\u6642\u9593\u306b\u30b8\u30e7\u30d6\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u4f8b\u3067\u306f\u3059\u3079\u3066\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u6bce\u5206\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5f8c\u534a\u306f\u3001\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3068\u305d\u306e\u5f15\u6570\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u4f8b\u3067\u306f\u3001\u300c<strong>\/usr\/bin\/php<\/strong>\u300d\u306fPHP\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u306e\u30d1\u30b9\u3001\u300c<strong>\/path\/to\/your\/script.php<\/strong>\u300d\u306f\u5b9f\u884c\u3057\u305f\u3044PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30d1\u30b9\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u3053\u308c\u306b\u3088\u308a\u3001\u5b9f\u884c\u3057\u305f\u3044PHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092PHP\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u306b\u3088\u3063\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">PHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u9ad8\u5ea6\u306b\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u67d4\u8edf\u3067\u52b9\u7387\u7684\u306a\u958b\u767a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u3092\u4f7f\u3063\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6c4e\u7528\u6027\u3092\u9ad8\u3081\u3001cron\u30b8\u30e7\u30d6\u306b\u3088\u308b\u81ea\u52d5\u5316\u306f\u5b9a\u671f\u7684\u306a\u30bf\u30b9\u30af\u7ba1\u7406\u3092\u7c21\u5358\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u3053\u308c\u3089\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u6d3b\u7528\u3057\u3066\u3001PHP\u958b\u767a\u306e\u30b9\u30ad\u30eb\u3092\u3055\u3089\u306b\u5411\u4e0a\u3055\u305b\u307e\u3057\u3087\u3046\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #008080;\"><strong>\uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f<\/strong><\/span><br \/>\n<a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=btn-vps&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener noreferrer\">VPS\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n<h2 class=\"styled_h2\"><span id=\"i-2\">\u307e\u3068\u3081<\/span><\/h2>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001PHP\u306e\u5b9f\u884c\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>PHP\u306f\u4e3b\u306bWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3067\u5229\u7528\u3055\u308c\u307e\u3059\u304c\u3001\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u5b9f\u884c\u7d50\u679c\u3092\u78ba\u8a8d\u3059\u308b\u4ee5\u5916\u306b\u3082\u3001PHP\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u3057\u3066\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5b9f\u884c\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u3053\u308c\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5f15\u6570\u3092\u6e21\u3057\u3066\u5236\u5fa1\u3057\u305f\u308a\u3001cron\u30b8\u30e7\u30d6\u306a\u3069\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u5b9a\u671f\u7684\u306b\u5b9f\u884c\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/span><\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u3053\u308c\u3089\u306e\u5b9f\u884c\u65b9\u6cd5\u3092\u7406\u89e3\u3057\u3001\u4e0a\u624b\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067<strong>\u52b9\u7387\u3088\u304f<\/strong>\u958b\u767a\u3092\u9032\u3081\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/span><\/p>\n<h2 class=\"styled_h2\"><span id=\"VPS\">VPS\u306a\u3089\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc<\/span><\/h2>\n<p><a href=\"https:\/\/www.miraiserver.ne.jp\/?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener\"><strong>\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc<\/strong><\/a>\u306f\u3001\u30a2\u30b7\u30b9\u30c8\u30a2\u30c3\u30d7\u682a\u5f0f\u4f1a\u793e\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u3001<strong>Unix\u7cfb\u30b5\u30fc\u30d0\u30fc<\/strong>\u306b\u7279\u5316\u3057\u305f\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\"><a href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener\"><strong>\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u306eVPS<\/strong><\/a>\u3067\u306f\u3001<strong>\u9ad8\u901f\u51e6\u7406\u304c\u53ef\u80fd\u306aSSD<\/strong>\u3092<strong>\u5168\u30d7\u30e9\u30f3\u306b\u642d\u8f09<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">OS\u306f\u3001<b>Ubuntu<\/b>\u3084<b>Debian<\/b>\u3001<b>AlmaLinux<\/b>\u306a\u3069\u306e\u8c4a\u5bcc\u306a\u30e9\u30a4\u30f3\u30a2\u30c3\u30d7\u304b\u3089\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><a href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener\"><strong>2\u9031\u9593\u7121\u6599\u30c8\u30e9\u30a4\u30a2\u30eb<\/strong><\/a>\u3092\u5b9f\u65bd\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3001\u307e\u305a\u306f\u304a\u6c17\u8efd\u306b\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener\">\u25bc\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u25bc<\/a><a href=\"https:\/\/www.miraiserver.ne.jp\/vps?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=mirai-vps\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-111 size-full\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2022\/08\/02_336x280_a.png\" alt=\"Unix\u7cfbOS\u5c02\u9580\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u300c\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u300d\" width=\"336\" height=\"280\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2022\/08\/02_336x280_a.png 336w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2022\/08\/02_336x280_a-300x250.png 300w\" sizes=\"(max-width: 336px) 100vw, 336px\" \/><\/a><\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u30d7\u30e9\u30f3\u306e\u9078\u629e\u3067\u304a\u56f0\u308a\u306e\u5834\u5408\u306f\u3001\u305c\u3072\u4e00\u5ea6\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/formmail.html?utm_source=btn-vps&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener noreferrer\">\u304a\u554f\u3044\u5408\u308f\u305b\u306f\u3053\u3061\u3089<\/a><\/p>\n<div class=\"cardlink\">\r\n    <a class=\"image\" href=\"https:\/\/www.miraiserver.ne.jp\/column\/miraiserver_vps\/\">\r\n     <img src=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/08\/VPS\u306b\u7533\u8fbc\u307f\u3001SSH\u63a5\u7d9a\u3059\u308b\u307e\u3067\u306e\u6d41\u308c\u3010\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u3011-2.webp\">\r\n    <\/a>\r\n    <div class=\"content\">\r\n     <div class=\"title_area\">\r\n      <p class=\"date\">2023.08.03<\/p>\r\n      <h4 class=\"title\">\r\n       <a href=\"https:\/\/www.miraiserver.ne.jp\/column\/miraiserver_vps\/\">VPS\u306b\u7533\u8fbc\u307f\u3001SSH\u63a5\u7d9a\u3059\u308b\u307e\u3067\u306e\u6d41\u308c\u3010\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u3011<\/a>\r\n      <\/h4>\r\n     <\/div>\r\n     <p class=\"desc\"><span>\u30aa\u30f3\u30e9\u30a4\u30f3\u30d3\u30b8\u30cd\u30b9\u3084Web\u30b5\u30a4\u30c8\u306e\u904b\u55b6\u3092\u59cb\u3081\u308b\u969b\u306b\u306f\u3001\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u306e\u4e2d\u304b\u3089\u81ea\u5206\u306e\u7528\u9014\u306b\u5408\u3063\u305f\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u4e00\u822c\u7684\u3067\u3059\u3002...<\/span><\/p>\r\n    <\/div>\r\n   <\/div>\n\n","protected":false},"excerpt":{"rendered":"PHP\u306fWeb\u958b\u767a\u306e\u4e16\u754c\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u304c\u3001\u521d\u5fc3\u8005\u306b\u3068\u3063\u3066\u305d\u306e\u5b9f\u884c\u65b9\u6cd5\u306f\u6642\u306b\u8907\u96d1\u306b\u611f\u3058\u3089\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001PHP\u306e\u57fa\u672c\u7684\u306a\u5b9f\u884c\u65b9\u6cd5\u304b\u3089\u3001\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u305f\u5b9f\u884c\u65b9\u6cd5\u306b\u81f3\u308b\u307e\u3067\u3001\u5e45\u5e83\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002 PHP\u3092\u6271\u3046\u4e0a\u3067\u5fc5\u8981\u306a\u57fa\u790e\u77e5\u8b58\u3092\u8eab\u306b\u3064\u3051\u3001\u52b9\u7387\u7684\u306bWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3059\u308b\u305f\u3081\u306b\u3001\u3053\u306e\u8a18\u4e8b\u3092\u305c\u3072\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002 VPS\u306a\u3089\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc \uff3c2\u9031\u9593\u7121\u6599\u30fb\u5168\u30d7\u30e9\u30f3SSD\u642d\u8f09\uff0f \u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u3092\u7121\u6599\u3067\u8a66\u3059 \u76ee\u6b211 PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u95801.1 PHP\u306e\u57fa\u672c\u6982\u5ff51.2 PHP\u306e\u958b\u767a\u74b0\u58832 PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u57fa\u672c\u7684\u306a\u5b9f\u884c\u65b9\u6cd52.1 \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306ePHP\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c2.2 Web\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u305fPHP\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c3 IDE\u3092\u4f7f\u7528\u3057\u305fPHP\u5b9f\u884c3.1 PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30d0\u30c3\u30b0\u3068\u5b9f\u884c4 PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9ad8\u5ea6\u306a\u5b9f\u884c\u65b9\u6cd54.1 \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u3092\u4f7f\u7528\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c4.2 \u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3055\u308c\u305f\u30bf\u30b9\u30af\u3068\u3057\u3066\u306ePHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c5 \u307e\u3068\u30816 VPS\u306a\u3089\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580 PHP\u306e\u57fa\u672c\u6982\u5ff5 PHP\uff08Hypertext Preprocessor\uff09\u306f\u3001Web\u958b\u767a\u306b\u7279\u5316\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u3059\u3002 \u4e3b\u306bWeb\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u3067\u52d5\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u751f\u6210\u3057\u307e\u3059\u3002 PHP\u306b\u306f\u4ee5\u4e0b\u306e\u7279\u9577\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u308c\u306b\u3088\u308a\u3001Web\u30b5\u30fc\u30d3\u30b9\u3084Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u304a\u3044\u3066\u9ad8\u3044\u4eba\u6c17\u3092\u8a87\u3063\u3066\u3044\u307e\u3059\u3002 \u307e\u305f\u3001HTML\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u51e6\u7406\u3092\u884c\u3063\u305f\u5f8c\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306bHTML\u3068\u3057\u3066\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002 \u3053\u306e\u52d5\u4f5c\u306b\u3088\u308a\u52d5\u7684\u306aWeb\u30da\u30fc\u30b8\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002 PHP\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u3042\u308f\u305b\u3066\u5fa1\u89a7\u304f\u3060\u3055\u3044\u3002 PHP\u306e\u958b\u767a\u74b0\u5883 PHP\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3092\u884c\u3046\u306b\u306f\u3001\u9069\u5207\u306a\u958b\u767a\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u5fc5\u8981\u3067\u3059\u3002 \u57fa\u672c\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u5fc5\u8981\u3067\u3059\u3002 \u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3001\u307e\u305f\u306fIDE\uff08\u7d71\u5408\u958b\u767a\u74b0\u5883\uff09 Web\u30b5\u30fc\u30d0\u30fc\uff08\u4f8b\uff1aApache\u3001Nginx\u306a\u3069\uff09 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\uff08\u4f8b\uff1aMySQL\u3001MariaDB\u306a\u3069\uff09 Winserver\uff1aMariaDB\u3068\u306f\uff1fMySQL\u3068\u306e\u9055\u3044\u3084\u3001\u7279\u5fb4\u30fb\u5f37\u307f\u306a\u3069\u3092\u3054\u7d39\u4ecb \u3053\u306e\u3088\u3046\u306a\u958b\u767a\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u3059\u308b\u969b\u306f\u3001XAMPP\u3084MAMP\u3001WAMP\u306e\u3088\u3046\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5229\u7528\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002 \u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001WAMP\u3067\u3042\u308c\u3070Windows\u3001MAMP\u3067\u3042\u308c\u3070MacOS\u3001XAMPP\u306fLinux\u3068\u3044\u3063\u305f\u5f62\u3067\u5404OS\u306b\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u3092\u5927\u5e45\u306b\u7c21\u5358\u306b\u3057\u307e\u3059\u3002 \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u5f8c\u3001\u7c21\u5358\u306aPHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u3092\u901a\u3058\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u3001\u8a2d\u5b9a\u306e\u6b63\u3057\u3055\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002 \u521d\u5fc3\u8005\u306b\u3068\u3063\u3066\u306f\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u901a\u3058\u3066PHP\u3068\u305d\u306e\u5b9f\u884c\u74b0\u5883\u306b\u6163\u308c\u308b\u3053\u3068\u304c\u3001\u5b66\u7fd2\u306e\u7b2c\u4e00\u6b69\u3068\u306a\u308a\u307e\u3059\u3002 PHP\u306e\u958b\u767a\u74b0\u5883\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u3042\u308f\u305b\u3066\u5fa1\u89a7\u304f\u3060\u3055\u3044\u3002 \uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f VPS\u3092\u4f7f\u3063\u3066\u307f\u308b PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u57fa\u672c\u7684\u306a\u5b9f\u884c\u65b9\u6cd5 PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u306b\u306f\u4e3b\u306b\u4e8c\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002 \u4e00\u3064\u76ee\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\uff08CLI\uff09\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3001\u3082\u3046\u4e00\u3064\u306fWeb\u30b5\u30fc\u30d0\u30fc\u3092\u4ecb\u3057\u3066\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 \u305d\u308c\u305e\u308c\u306e\u5b9f\u884c\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002 \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306ePHP\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c \u7c21\u5358\u306b\u5b9f\u884c\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306e\u5b9f\u884c\u304c\u4fbf\u5229\u3067\u3059\u3002 PHP\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u74b0\u5883\u3067\u3042\u308c\u3070\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u307e\u305f\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001php\u30b3\u30de\u30f3\u30c9\u306b\u7d9a\u3051\u3066\u5b9f\u884c\u3057\u305f\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001hello.php\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b&lt;?php echo [&hellip;]","protected":false},"author":1,"featured_media":4457,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[188,262],"tags":[22,173,279,280,281],"_links":{"self":[{"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/posts\/2210"}],"collection":[{"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/comments?post=2210"}],"version-history":[{"count":14,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/posts\/2210\/revisions"}],"predecessor-version":[{"id":4461,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/posts\/2210\/revisions\/4461"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/media\/4457"}],"wp:attachment":[{"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/media?parent=2210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/categories?post=2210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/tags?post=2210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}