質問編集履歴

3

状態の変更

2022/05/30 06:56

投稿

you3
you3

スコア16

test CHANGED
File without changes
test CHANGED
@@ -1,7 +1,7 @@
1
1
  ### 質問内容
2
2
 
3
3
  MAMPを使用してPHPの開発を行っています。
4
- PCの再起動後、今まで表示できていた画面が表示できず真っ白な状態になりました。(特定のページではなく、すべてのページが同様の状態です。)
4
+ PCの再起動後、今まで表示できていた画面が表示できず真っ白な状態になりました。(~~特定のページではなく、すべてのページが同様の状態です。~~ データベース操作をしているファイルでこの状態になります。
5
5
  **考えうる原因を教えていただければ**幸いです。
6
6
 
7
7
  ### 環境

2

補足

2022/05/30 06:11

投稿

you3
you3

スコア16

test CHANGED
File without changes
test CHANGED
@@ -20,3 +20,57 @@
20
20
 
21
21
  また、ApacheもMySQLもPHPもエラーを吐いておらず、どこに原因があるのか特定できない状態です。
22
22
  (エラーログを吐き出す設定は行っております。)
23
+
24
+ ### 補足:MAMP起動時のログ
25
+ 原因とは関係ないかもしれませんが、念の為に載せておきます。
26
+ 何かおかしな箇所などございましたら教えていただければ幸いです。
27
+
28
+ - Apache
29
+ ```log
30
+ [Mon May 30 15:05:49.952237 2022] [:notice] [pid 13389] FastCGI: process manager initialized (pid 13389)
31
+ [Mon May 30 15:05:49.954162 2022] [mpm_prefork:notice] [pid 13386] AH00163: Apache/2.4.46 (Unix) OpenSSL/1.0.2u PHP/7.2.34 mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11 Perl/v5.30.1 configured -- resuming normal operations
32
+ [Mon May 30 15:05:49.954472 2022] [core:notice] [pid 13386] AH00094: Command line: '/Applications/MAMP/Library/bin/httpd'
33
+ ```
34
+
35
+ - MySQL
36
+ ```log
37
+ 2022-05-30T06:08:45.6NZ mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error.log'.
38
+ 2022-05-30T06:08:45.6NZ mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql57
39
+ 2022-05-30T06:08:45.857548Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
40
+ 2022-05-30T06:08:45.857809Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
41
+ 2022-05-30T06:08:45.857865Z 0 [Note] /Applications/MAMP/Library/bin/mysqld (mysqld 5.7.34) starting as process 13733 ...
42
+ 2022-05-30T06:08:45.862564Z 0 [Warning] Setting lower_case_table_names=2 because file system for /Applications/MAMP/db/mysql57/ is case insensitive
43
+ 2022-05-30T06:08:45.863982Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
44
+ 2022-05-30T06:08:45.864017Z 0 [Note] InnoDB: Uses event mutexes
45
+ 2022-05-30T06:08:45.864056Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
46
+ 2022-05-30T06:08:45.864063Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
47
+ 2022-05-30T06:08:45.864336Z 0 [Note] InnoDB: Number of pools: 1
48
+ 2022-05-30T06:08:45.864482Z 0 [Note] InnoDB: Using CPU crc32 instructions
49
+ 2022-05-30T06:08:45.865849Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
50
+ 2022-05-30T06:08:45.874544Z 0 [Note] InnoDB: Completed initialization of buffer pool
51
+ 2022-05-30T06:08:45.891919Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
52
+ 2022-05-30T06:08:45.934457Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
53
+ 2022-05-30T06:08:45.934680Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
54
+ 2022-05-30T06:08:45.941135Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
55
+ 2022-05-30T06:08:45.941704Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
56
+ 2022-05-30T06:08:45.941727Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
57
+ 2022-05-30T06:08:45.941915Z 0 [Note] InnoDB: Waiting for purge to start
58
+ 2022-05-30T06:08:45.996358Z 0 [Note] InnoDB: 5.7.34 started; log sequence number 631959343
59
+ 2022-05-30T06:08:45.996612Z 0 [Note] InnoDB: Loading buffer pool(s) from /Applications/MAMP/db/mysql57/ib_buffer_pool
60
+ 2022-05-30T06:08:45.996804Z 0 [Note] Plugin 'FEDERATED' is disabled.
61
+ 2022-05-30T06:08:46.002410Z 0 [Note] InnoDB: Buffer pool(s) load completed at 220530 15:08:46
62
+ 2022-05-30T06:08:46.004013Z 0 [Warning] InnoDB: Table mysql/innodb_table_stats has length mismatch in the column name table_name. Please run mysql_upgrade
63
+ 2022-05-30T06:08:46.004092Z 0 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade
64
+ 2022-05-30T06:08:46.009869Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
65
+ 2022-05-30T06:08:46.009904Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
66
+ 2022-05-30T06:08:46.011972Z 0 [Warning] CA certificate ca.pem is self signed.
67
+ 2022-05-30T06:08:46.012088Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
68
+ 2022-05-30T06:08:46.012890Z 0 [Note] Server hostname (bind-address): '*'; port: 8889
69
+ 2022-05-30T06:08:46.013698Z 0 [Note] IPv6 is available.
70
+ 2022-05-30T06:08:46.013731Z 0 [Note] - '::' resolves to '::';
71
+ 2022-05-30T06:08:46.013870Z 0 [Note] Server socket created on IP: '::'.
72
+ 2022-05-30T06:08:46.062505Z 0 [Note] Event Scheduler: Loaded 0 events
73
+ 2022-05-30T06:08:46.062691Z 0 [Note] /Applications/MAMP/Library/bin/mysqld: ready for connections.
74
+ Version: '5.7.34' socket: '/Applications/MAMP/tmp/mysql/mysql.sock' port: 8889 MySQL Community Server (GPL)
75
+
76
+ ```

1

内容の補足

2022/05/30 03:30

投稿

you3
you3

スコア16

test CHANGED
File without changes
test CHANGED
@@ -1,7 +1,7 @@
1
1
  ### 質問内容
2
2
 
3
3
  MAMPを使用してPHPの開発を行っています。
4
- PCの再起動後、今まで表示できていた画面が表示できず真っ白な状態になりました。
4
+ PCの再起動後、今まで表示できていた画面が表示できず真っ白な状態になりました。(特定のページではなく、すべてのページが同様の状態です。)
5
5
  **考えうる原因を教えていただければ**幸いです。
6
6
 
7
7
  ### 環境