{"id":8614,"date":"2025-11-03T01:07:30","date_gmt":"2025-11-02T16:07:30","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=8614"},"modified":"2025-11-03T01:07:30","modified_gmt":"2025-11-02T16:07:30","slug":"ubuntu-24-04-%e3%81%ab%e3%82%a2%e3%83%83%e3%83%97%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%89%e3%81%97%e3%81%9f%e3%82%89-blog-%e3%81%8c%e6%ad%a2%e3%81%be%e3%81%a3%e3%81%9f","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=8614","title":{"rendered":"Ubuntu 24.04 \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u3089 blog \u304c\u6b62\u307e\u3063\u305f"},"content":{"rendered":"<p>2025\u5e74\u3082\u3082\u304611\u6708\u3067\u3059\u304c\u3001\u3088\u3046\u3084\u304f\u81ea\u9bd6\uff08\u3053\u306e blog \u304c\u7f6e\u3044\u3066\u3042\u308b VPS\uff09\u3092 Ubuntu 22.04 TLS \u304b\u3089 Ubuntu 24.04 TLS \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002\u307e\u305f blog \u304c\u6b62\u307e\u308a\u307e\u3057\u305f\u3002<\/p>\n<p># \u5b9f\u969b\u306b\u306f\u4e00\u65e6\u624b\u5143\u306e VM \u4e0a\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u30ea\u30cf\u30fc\u30b5\u30eb\u3092\u3084\u3063\u3066\u305d\u306e\u6642\u306b\u906d\u9047\u3057\u305f\u73fe\u8c61<\/p>\n<p><!--more--><\/p>\n<p>\u4eca\u56de\u306f<a href=\"http:\/\/umezawa.dyndns.info\/wordpress\/?p=8100\">\u524d\u56de<\/a>\u3068\u306f\u75c7\u72b6\u304c\u5c11\u3057\u9055\u3063\u3066\u3044\u3066\u3001Apache \u81ea\u4f53\u304c\u8d77\u52d5\u3057\u307e\u305b\u3093\u3002<\/p>\n<blockquote>\n<pre>\r\nroot@vps-upgrade-test:\/etc\/apache2# systemctl status apache2.service | cat\r\n\uff08\u4e2d\u7565\uff09\r\nNov 02 15:22:03 vps-upgrade-test apachectl[1553]: apache2: Syntax error on line 146 of \/etc\/apache2\/apache2.conf: Syntax error on line 3 of \/etc\/apache2\/mods-enabled\/php8.1.load: Cannot load \/usr\/lib\/apache2\/modules\/libphp8.1.so into server: \/usr\/lib\/apache2\/modules\/libphp8.1.so: cannot open shared object file: No such file or directory\r\n\uff08\u4ee5\u4e0b\u7565\uff09\r\nroot@vps-upgrade-test:\/etc\/apache2# \r\n<\/pre>\n<\/blockquote>\n<p>\u307e\u305f PHP \u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u3046\u307e\u304f\u66f4\u65b0\u3067\u304d\u3066\u307e\u305b\u3093\u3002\u307e\u3063\u305f\u304f\u2026<\/p>\n<p>\u524d\u56de\u306f mods-enabled \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306e\u307f\u53e4\u3044 PHP \u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30ea\u30f3\u30af\u304c\u6b8b\u3063\u3066\u3044\u3066\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u4f53\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306f mods-available \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u53e4\u3044 PHP \u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u6b8b\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3068\u3082\u3042\u308c\u4fee\u6b63\u3002<\/p>\n<blockquote>\n<pre>\r\nroot@vps-upgrade-test:\/etc\/apache2# a2dismod php8.1\r\nModule php8.1 disabled.\r\nTo activate the new configuration, you need to run:\r\n  systemctl restart apache2\r\nroot@vps-upgrade-test:\/etc\/apache2# rm mods-available\/php8.1.*\r\nroot@vps-upgrade-test:\/etc\/apache2# a2enmod php8.3\r\nConsidering dependency mpm_prefork for php8.3:\r\nConsidering conflict mpm_event for mpm_prefork:\r\nConsidering conflict mpm_worker for mpm_prefork:\r\nModule mpm_prefork already enabled\r\nConsidering conflict php5 for php8.3:\r\nEnabling module php8.3.\r\nTo activate the new configuration, you need to run:\r\n  systemctl restart apache2\r\nroot@vps-upgrade-test:\/etc\/apache2# systemctl start apache2\r\n<\/pre>\n<\/blockquote>\n<p>\u307e\u3042\u307b\u307c\u65e2\u77e5\u306e\u73fe\u8c61\u3067\u3088\u304b\u3063\u305f\u3067\u3059\u3002<\/p>\n<p><a href=\"http:\/\/umezawa.dyndns.info\/wordpress\/?p=8100\">\u524d\u56de\uff0820.04->22.04\uff09\u306e\u6642\u306e\u30c8\u30e9\u30d6\u30eb<\/a><br \/>\n<a href=\"http:\/\/umezawa.dyndns.info\/wordpress\/?p=7651\">\u524d\u3005\u56de\uff0818.04->20.04\uff09\u306e\u6642\u306e\u30c8\u30e9\u30d6\u30eb<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2025\u5e74\u3082\u3082\u304611\u6708\u3067\u3059\u304c\u3001\u3088\u3046\u3084\u304f\u81ea\u9bd6\uff08\u3053\u306e blog \u304c\u7f6e\u3044\u3066\u3042\u308b VPS\uff09\u3092 Ubuntu 22.04 TLS \u304b\u3089 Ubuntu 24.04 TLS \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002\u307e\u305f blog \u304c\u6b62\u307e\u308a\u307e\u3057\u305f\u3002  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-8614","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8614"}],"version-history":[{"count":4,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8614\/revisions"}],"predecessor-version":[{"id":8618,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8614\/revisions\/8618"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8614"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}