{"id":5429,"date":"2025-06-17T18:44:44","date_gmt":"2025-06-17T09:44:44","guid":{"rendered":"https:\/\/www.wetch.co.jp\/note\/?p=5429"},"modified":"2025-06-17T18:44:46","modified_gmt":"2025-06-17T09:44:46","slug":"virtualmin%e3%81%a7php%e3%81%ae8-1%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.wetch.co.jp\/note\/virtualmin%e3%81%a7php%e3%81%ae8-1%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab\/","title":{"rendered":"Virtualmin\u3067PHP\u306e8.1\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u3059\u3050\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Virtualmin\u3067\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306b\u7570\u306a\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<br><br>RHEL\u3001Alma\u3001Rocky\u3001Oracle\u3001CentOS Stream\u3001Fedora Linux \u306e\u5834\u5408<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.<strong>Remi\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>. \/etc\/os-release &amp;&amp; repo_dir=$(&#91; \"$ID\" = \"fedora\" ] &amp;&amp; echo \"fedora\" || echo \"enterprise\") &amp;&amp; dnf -y install \"https:\/\/rpms.remirepo.net\/$repo_dir\/remi-release-$(rpm -E %$ID).rpm\" &amp;&amp; dnf clean all<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2.<strong>PHP\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dnf install php81-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">php8.3\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306fphp81\u3092php83\u306b dnf search php \u3067\u8ffd\u52a0\u3067\u304d\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3059\u3050\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2 Virtualmin\u3067\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306b\u7570\u306a\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002 RHEL\u3001Alma\u3001Rocky\u3001Oracle\u3001CentOS Stream\u3001Fedora Linux \u306e [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":5430,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wp_rev_ctl_limit":""},"categories":[213],"tags":[],"class_list":["post-5429","post","type-post","status-publish","format-standard","has-post-thumbnail","category-213"],"_links":{"self":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts\/5429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/comments?post=5429"}],"version-history":[{"count":0,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts\/5429\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/media\/5430"}],"wp:attachment":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/media?parent=5429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/categories?post=5429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/tags?post=5429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}