{"id":116,"date":"2022-08-13T14:03:24","date_gmt":"2022-08-13T05:03:24","guid":{"rendered":"https:\/\/global-hack.com\/blog\/?p=116"},"modified":"2022-08-15T03:57:24","modified_gmt":"2022-08-14T18:57:24","slug":"php8-1%e7%b3%bb%e3%81%a8phpmyadmin5-1%e7%b3%bb%e6%99%82%e3%81%ae%e8%a1%a8%e7%a4%ba%e3%83%90%e3%82%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%90ubuntu20-04%e3%80%91","status":"publish","type":"post","link":"https:\/\/global-hack.com\/blog\/archives\/116","title":{"rendered":"PHP8.1.x\u3068phpMyAdmin5.1.x\u7d44\u307f\u5408\u308f\u305b\u6642\u306e\u8868\u793a\u30d0\u30b0\u3010Ubuntu20.04\u3011"},"content":{"rendered":"<h3>phpMyAdmin\u306e\u8868\u793a\u30a8\u30e9\u30fc\u72b6\u6cc1\u78ba\u8a8d<\/h3>\n<p>phpMyAdmin\u3078\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u969b\u306b\u3001\u901a\u5e38\u306a\u3089\u3070\u5de6\u5074\u306b\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u306e\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u3084\u3001\u4e0a\u90e8\u30e1\u30cb\u30e5\u30fc\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5408\u308f\u305b\u305f\u969b\u306b\u8868\u793a\u3055\u308c\u308b\u8a73\u7d30\u30e1\u30cb\u30e5\u30fc\u306a\u3069\u304c\u5168\u304f\u8868\u793a\u3055\u308c\u306a\u3044\u72b6\u614b\u306b\u306a\u3063\u305f\u3002\u8003\u3048\u3089\u308c\u308b\u539f\u56e0\u306f\u3001phpMyAdmin\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3060\u3068\u601d\u308f\u308c\u308b\u3002<\/p>\n<p>\u3069\u306e\u3088\u3046\u306a\u72b6\u6cc1\u304b\u306f\u4e0b\u8a18\u753b\u50cf\u3092\u53c2\u7167\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/global-hack.com\/blog\/wp-content\/uploads\/2022\/08\/php8.1_phpmyadmin_error.png\" alt=\"PHP8\u3068phpMyAdmin\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u306f\u8868\u793a\u30d0\u30b0\u304c\u8d77\u3053\u308b\u53c2\u8003\u753b\u50cf\" width=\"1460\" height=\"696\" class=\"alignnone wp-image-117 size-full\" \/><\/p>\n<p>\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u306b\u3064\u3044\u3066\u306f\u3001\u4e00\u65e6\u51fa\u529b\u3055\u308c\u308b\u306e\u3060\u304c\u3001\u3059\u3050\u306b\u975e\u8868\u793a\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u72b6\u6cc1\u3002display:none;\u3067\u3082\u3057\u3066\u3044\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u300c\u8981\u7d20\u306e\u691c\u8a3c\u300d\u304b\u3089\u8abf\u3079\u3066\u307f\u308b\u304c\u3001\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u306e\u89aa\u8981\u7d20\u306e\u4e2d\u8eab\u3092\u5f8c\u304b\u3089\u3054\u3063\u305d\u308a\u3068\u524a\u9664\u3057\u3066\u3044\u308b\u6a21\u69d8\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u3042\u3068\u304b\u3089javascript\u3067\u8981\u7d20\u306e\u4e2d\u8eab\u3092empty\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u4f8b\u5916\u51e6\u7406\u3092\u3059\u308b\u5834\u5408\u306f\u5927\u62b5\u3001\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u53d6\u5f97\u3057\u3066\u304d\u305f\u5185\u5bb9\u3092\u305d\u306e\u307e\u307e\u8868\u793a\u3055\u305b\u3089\u308c\u306a\u3044\u72b6\u6cc1\u3060\u304b\u3089\u3053\u305d\u300cempty\u300d\u3057\u3066\u3044\u308b\u306f\u305a\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u300c\u8981\u7d20\u306e\u691c\u8a3c\u300d\u306e\u300c\u30b3\u30f3\u30bd\u30fc\u30eb\u300d\u306f\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u3092\u5410\u3044\u3066\u3044\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/global-hack.com\/blog\/wp-content\/uploads\/2022\/08\/phpmyadmin_javascript_Uncaught_SyntaxError.png\" alt=\"phpmyadmin\u306ejavascript\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\" width=\"590\" height=\"195\" class=\"alignnone size-full wp-image-118\" \/><\/p>\n<p>\u30b3\u30d4\u30da\u3067\u691c\u7d22\u3057\u3084\u3059\u3044\u3088\u3046\u4e0b\u8a18\u306b\u6587\u5b57\u5217\u3082\u6dfb\u3048\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Uncaught SyntaxError: Unexpected token u in JSON at position 0\r\n    at JSON.parse (<anonymous>)\r\n    at Object.success (functions.js?v=5.1.4deb1%2Bfocal1:5428:30)\r\n    at fire (jquery.min.js?v=5.1.4deb1%2Bfocal1:2:12157)\r\n    at Object.fireWith [as resolveWith] (jquery.min.js?v=5.1.4deb1%2Bfocal1:2:13328)\r\n    at done (jquery.min.js?v=5.1.4deb1%2Bfocal1:4:27808)\r\n    at XMLHttpRequest.<anonymous> (jquery.min.js?v=5.1.4deb1%2Bfocal1:4:31149)\r\n\r\n\r\nUncaught SyntaxError: Unexpected token u in JSON at position 0\r\n    at JSON.parse (<anonymous>)\r\n    at Object.success (functions.js?v=5.1.4deb1%2Bfocal1:5428:30)\r\n    at fire (jquery.min.js?v=5.1.4deb1%2Bfocal1:2:12157)\r\n    at Object.fireWith [as resolveWith] (jquery.min.js?v=5.1.4deb1%2Bfocal1:2:13328)\r\n    at done (jquery.min.js?v=5.1.4deb1%2Bfocal1:4:27808)\r\n    at XMLHttpRequest.<anonymous> (jquery.min.js?v=5.1.4deb1%2Bfocal1:4:31149)<\/anonymous><\/anonymous><\/anonymous><\/anonymous><\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30a8\u30e9\u30fc\u306e\u300cUncaught SyntaxError: Unexpected token u in JSON at position 0\u300d\u3060\u304c\u3001undefined\u3092json\u30d1\u30fc\u30b9\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u30a8\u30e9\u30fc\u3002\u5f53\u8a72jQuery\u4fee\u6b63\u3059\u308c\u3070\u826f\u3044\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u306f\u305d\u308c\u306f\u3068\u3066\u3082\u9762\u5012\u306a\u3053\u3068\u306a\u306e\u3067\u3001\u304a\u305d\u3089\u304f\u30d0\u30fc\u30b8\u30e7\u30f3\u3055\u3048\u5909\u66f4\u3057\u3066\u3057\u307e\u3048\u3070\u4fee\u6b63\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>\u5916\u90e8\u60c5\u5831\u3092\u8abf\u67fb<\/h3>\n<p>\u4e0b\u8a18URL\u306b\u3066\u30c9\u30f3\u30d4\u30b7\u30e3\u30ea\u306a\u72b6\u6cc1\u3092\u898b\u3064\u3051\u3089\u308c\u307e\u3057\u305f\u3002\u8ab0\u3060\u304b\u77e5\u3089\u306a\u3044\u3051\u308c\u3069\u3001\u672c\u5f53\u306b\u3069\u3046\u3082\u3042\u308a\u304c\u3068\u3046\u3002<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/devscope.io\/code\/phpmyadmin\/phpmyadmin\/issues\/17426\" target=\"_blank\" rel=\"nofollow noopener\" title=\"PHP8.1\u3068phpMyAdmin\u306e\u8868\u793a\u30a8\u30e9\u30fc\">PHP 8.1 \u3068 phpMyAdmin \u3092 Ubuntu PPA \u3067\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001\u30ed\u30b0\u30a4\u30f3 \u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3001\u6b63\u5e38\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u5f8c\u3001\u6a2a\u30e1\u30cb\u30e5\u30fc\u3057\u304b\u898b\u3048\u307e\u305b\u3093\u3002\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u304c\u975e\u5e38\u306b\u77ed\u6642\u9593\u8868\u793a\u3055\u308c\u3001\u3059\u3050\u306b\u6d88\u3048\u307e\u3059\u3002<\/a><\/p>\n<p>\u4e0a\u8a18URL\u306e\u8cea\u554f\u30e6\u30fc\u30b6\u30fc\u306e\u30a8\u30e9\u30fc\u3067\u306f\u3001PHP8.1.3\uff06phpMyAdmin5.1.3\u3068\u306e\u3053\u3068\u3067\u3001\u79c1\u306e\u5834\u5408\u306fPHP8.1.8\uff06phpMyAdmin5.1.4\u3002<\/p>\n<p>\u3053\u306ephpMyAdmin5.1.x\u3042\u305f\u308a\u304c\u5b89\u5b9a\u3057\u306a\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<p>\u4e0a\u8a18URL\u306e\u8cea\u554f\u30e6\u30fc\u30b6\u30fc\u306f\u3001<span>phpMyAdmin5.2.0\u3078\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0a\u3052\u305f\u3089javascript\u306e\u30a8\u30e9\u30fc\u304c\u6d88\u3048\u305f\u6a21\u69d8\u3002<\/span><\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001phpMyAdmin\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u4e0a\u3052\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h3>phpMyAdmin\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/h3>\n<p>\u4eca\u56de\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u5dee\u304c\u751f\u3058\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u3001\u624b\u52d5\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5909\u66f4\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u73fe\u5728\u306e\u3068\u3053\u308d\u6700\u65b0\u7248\u304c5.2.0\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u3053\u306e5.2.0\u306b\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u9069\u5b9c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30fb\u65e7phpMyAdmin\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306f\u53d6\u5f97\u3057\u3066\u304a\u304f\u3053\u3068\u3002<\/strong><\/span><\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/www.phpmyadmin.net\/downloads\/\" target=\"_blank\" rel=\"nofollow noopener\" title=\"phpMyAdmin\u6700\u65b0\u7248\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\">phpMyAdmin\u6700\u65b0\u7248\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ sudo service mysql stop\r\n$ sudo service apache2 stop<\/code><\/pre>\n<\/div>\n<p>\u4e0b\u8a18\u306e5.2.0\u306e\u90e8\u5206\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u9069\u5b9c\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6700\u7d42\u7684\u306b\u300c\/usr\/share\/phpmyadmin\u300d\u3078\u79fb\u52d5\u3059\u308b\u306e\u3067\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5834\u6240\u306f\u3069\u3053\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u3002\u79fb\u52d5\u5f8c\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304d\u305f\u7269\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ sudo wget https:\/\/files.phpmyadmin.net\/phpMyAdmin\/5.2.0\/phpMyAdmin-5.2.0-all-languages.zip\r\n$ sudo unzip phpMyAdmin-5.2.0-all-languages.zip\r\n$ sudo mv phpMyAdmin-5.2.0-all-languages \/usr\/share\/phpmyadmin\r\n$ sudo rm phpMyAdmin-5.2.0-all-languages.zip<\/code><\/pre>\n<\/div>\n<p>\u6700\u521d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u65b9\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u9069\u5207\u306a\u6a29\u9650\u3092\u5272\u308a\u632f\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u65e2\u306btmp\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u7528\u610f\u3055\u308c\u4e0b\u8a18\u306e\u3088\u3046\u306b\u6a29\u9650\u306e\u5272\u308a\u632f\u308a\u304c\u6e08\u3093\u3067\u3044\u308b\u3088\u3046\u306a\u3089\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u306f\u7121\u8996\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ sudo mkdir \/usr\/share\/phpmyadmin\/tmp \r\n$ sudo chown -R www-data:www-data \/usr\/share\/phpmyadmin \r\n$ sudo chmod 777 \/usr\/share\/phpmyadmin\/tmp<\/code><\/pre>\n<\/div>\n<p>\u300c\/etc\/apache2\/conf-available\/phpmyadmin.conf\u300d\u306e\u8a2d\u5b9a\u3084\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"GNAUK0lacb\"><p><a href=\"https:\/\/global-hack.com\/blog\/archives\/108\">\u3010Ubuntu20.04\u3011phpMyAdmin\u306e\u7c21\u5358\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5f37\u5316\uff13\u3064\u306e\u30b9\u30c6\u30c3\u30d7\u3010Apache2\u3011<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u3010Ubuntu20.04\u3011phpMyAdmin\u306e\u7c21\u5358\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5f37\u5316\uff13\u3064\u306e\u30b9\u30c6\u30c3\u30d7\u3010Apache2\u3011&#8221; &#8212; Global Hack \u30a8\u30f3\u30b8\u30cb\u30a2\u5099\u5fd8\u9332\" src=\"https:\/\/global-hack.com\/blog\/archives\/108\/embed#?secret=9548EiTGJc#?secret=GNAUK0lacb\" data-secret=\"GNAUK0lacb\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u300c\/etc\/apache2\/conf-available\/phpmyadmin.conf\u300d\u306e\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001\u4e0a\u8a18\u53c2\u8003\u8a18\u4e8b\u3092\u7d99\u627f\u3057\u3066\u66f8\u304f\u3068\u3001<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ sudo vim \/etc\/apache2\/conf-available\/phpmyadmin.conf<\/code><\/pre>\n<\/div>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code><directory usr=\"\" share=\"\" phpmyadmin=\"\" setup=\"\"># \u5909\u66f4\u524d\r\n# Alias \/phpmyadmin \/usr\/share\/phpmyadmin\r\n# Alias \/phpMyAdmin \/usr\/share\/phpmyadmin\r\nAlias \/<directory usr=\"\" share=\"\" phpmyadmin=\"\" setup=\"\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u305f\u3081\u7b2c\u4e09\u8005\u306b\u63a8\u6e2c\u3057\u96e3\u3044\u6587\u5b57\u5217\u3078\u5909\u3048\u305f\u90e8\u5206<\/directory> \/usr\/share\/phpmyadmin\r\n&lt;Directory \/usr\/share\/phpmyadmin\/&gt;\r\n   AddDefaultCharset UTF-8\r\n   AllowOverride All\r\n   SSLRequireSSL\r\n   &lt;IfModule mod_authz_core.c&gt;\r\n      &lt;RequireAny&gt;\r\n         Require all granted\r\n      &lt;\/RequireAny&gt;\r\n   &lt;\/IfModule&gt;\r\n&lt;\/Directory&gt;\r\n&lt;Directory \/usr\/share\/phpmyadmin\/setup\/&gt;\r\n   &lt;IfModule mod_authz_core.c&gt;\r\n      &lt;RequireAny&gt;\r\n         Require all granted\r\n      &lt;\/RequireAny&gt;\r\n   &lt;\/IfModule&gt;\r\n&lt;\/Directory&gt;\r\n<\/directory><\/code><\/pre>\n<\/div>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code><directory usr=\"\" share=\"\" phpmyadmin=\"\" setup=\"\"># \u5909\u66f4\u5f8c\r\n# Alias \/phpmyadmin \/usr\/share\/phpmyadmin\r\n# Alias \/phpMyAdmin \/usr\/share\/phpmyadmin\r\nAlias \/\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u305f\u3081\u7b2c\u4e09\u8005\u306b\u63a8\u6e2c\u3057\u96e3\u3044\u6587\u5b57\u5217\u3078\u5909\u3048\u305f\u90e8\u5206 \/usr\/share\/phpmyadmin\/phpMyAdmin-5.2.0-all-languages\r\n&lt;Directory \/usr\/share\/phpmyadmin\/phpMyAdmin-5.2.0-all-languages\/&gt;\r\n   AddDefaultCharset UTF-8\r\n   AllowOverride All\r\n   SSLRequireSSL\r\n   &lt;IfModule mod_authz_core.c&gt;\r\n      &lt;RequireAny&gt;\r\n         Require all granted\r\n      &lt;\/RequireAny&gt;\r\n   &lt;\/IfModule&gt;\r\n&lt;\/Directory&gt;\r\n&lt;Directory \/usr\/share\/phpmyadmin\/phpMyAdmin-5.2.0-all-languages\/setup\/&gt;\r\n   &lt;IfModule mod_authz_core.c&gt;\r\n      &lt;RequireAny&gt;\r\n         Require all granted\r\n      &lt;\/RequireAny&gt;\r\n   &lt;\/IfModule&gt;\r\n&lt;\/Directory&gt;<\/directory><\/code><\/pre>\n<\/div>\n<p>phpMyAdmin5.2.0\u3092\u300c\/usr\/share\/phpmyadmin\u300d\u306e\u4e2d\u3078\u5165\u308c\u305f\u306e\u3067\u3001\u305d\u308c\u306b\u5408\u308f\u305b\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3002\u305d\u308c\u306b\u52a0\u3048\u3066\u3001.htaccess\u3067Basic\u8a8d\u8a3c\u3092\u65bd\u3057\u3066\u3044\u308b\u306a\u3089\u3070\u3001\u4e00\u3064\u968e\u5c64\u3092\u4e0b\u3052\u305f\u3068\u3053\u308d\u306b\u3082\u8a2d\u7f6e\u3057\u3066\u3042\u3052\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u65e2\u5b58\u306e\u3082\u306e\u3092\u305d\u306e\u307e\u307e\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3063\u3066\u3082\u826f\u3044\u306e\u3060\u304c\u3001\u3082\u3057\u3082\u306e\u305f\u3081\u306b\u6b8b\u3057\u3066\u304a\u304f\u306e\u3082\u3042\u308a\u3060\u3068\u601d\u3046\u3002\u307e\u305f\u3001\u4e00\u624b\u9593\u52a0\u3048\u3066\u5404\u30d0\u30fc\u30b8\u30e7\u30f3\u3054\u3068\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u7528\u610f\u3057\u3066\u90fd\u5ea6\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3068\u4f55\u304b\u3068\u4fbf\u5229\u304b\u3082\u3002<\/p>\n<p>\u3055\u3066\u3001\u6700\u5f8c\u306b\u8a2d\u5b9a\u3092\u53cd\u6620\u3055\u305b\u3066\u8868\u793a\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ sudo service mysql restart\r\n$ sudo service apache2 restart<\/code><\/pre>\n<\/div>\n<h3>phpMyAdmin\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u5f8c\u306e\u78ba\u8a8d<\/h3>\n<p>\u4e0b\u8a18\u753b\u50cf\u306e\u3088\u3046\u306b\u898b\u4e8b\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/global-hack.com\/blog\/wp-content\/uploads\/2022\/08\/phpmyadmin5.2.0_error_correction_completed.png\" alt=\"PHP8.1\u7cfb\u3068phpmyadmin5.1\u7cfb\u306e\u30a8\u30e9\u30fc\u4fee\u6b63\u5b8c\u4e86\" width=\"1330\" height=\"810\" class=\"alignnone size-full wp-image-119\" \/><\/p>\n<p>\u3068\u3044\u3046\u5177\u5408\u306b\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\u304c\u3001\u73fe\u6642\u70b9\u306b\u304a\u3044\u3066PHP8\u306f\u307e\u3060\u65b0\u3057\u3044\u3068\u3044\u3046\u3053\u3068\u3082\u3042\u308a\u3001phpMyAdamin\u3082\u5bfe\u5fdc\u4ed5\u5207\u308c\u3066\u3044\u306a\u3044\u69d8\u5b50\u3067\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u4eca\u5f8c\u3082\u4e0d\u5177\u5408\u304c\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3053\u3046\u3044\u3063\u305f\u3053\u3068\u306f\u65e5\u5e38\u8336\u98ef\u4e8b\u306a\u306e\u3067\u751f\u6696\u304b\u3044\u773c\u3067\u898b\u5b88\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>phpMyAdmin\u306e\u8868\u793a\u30a8\u30e9\u30fc\u72b6\u6cc1\u78ba\u8a8d phpMyAdmin\u3078\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u969b\u306b\u3001\u901a\u5e38\u306a\u3089\u3070\u5de6\u5074\u306b\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u306e\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u3084\u3001\u4e0a\u90e8\u30e1\u30cb\u30e5\u30fc\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5408\u308f\u305b\u305f\u969b\u306b\u8868\u793a\u3055\u308c\u308b\u8a73\u7d30\u30e1\u30cb\u30e5\u30fc\u306a\u3069\u304c\u5168\u304f\u8868\u793a\u3055\u308c\u306a\u3044\u72b6\u614b\u306b\u306a\u3063\u305f\u3002\u8003\u3048\u3089\u308c\u308b\u539f\u56e0 <a class=\"mh-excerpt-more\" href=\"https:\/\/global-hack.com\/blog\/archives\/116\" title=\"PHP8.1.x\u3068phpMyAdmin5.1.x\u7d44\u307f\u5408\u308f\u305b\u6642\u306e\u8868\u793a\u30d0\u30b0\u3010Ubuntu20.04\u3011\">&#8230;<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":120,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60,21,61,56,15],"tags":[62,59,27],"class_list":{"0":"post-116","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-aws","8":"category-linux","9":"category-phpmyadmin","10":"category-ubuntu20-04","11":"category-15","12":"tag-basic","13":"tag-ubuntu","14":"tag-vps"},"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/global-hack.com\/blog\/wp-content\/uploads\/2022\/08\/phpMyAdmin_display_error.jpg","_links":{"self":[{"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":0,"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/media\/120"}],"wp:attachment":[{"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/global-hack.com\/blog\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}