php-新規インストール時のWordpressWhiteScreen Of Death
ワードプレスをウェブサーバーにダウンロードし、nginxで提供しています。 example.com/readme.html へのアクセスは正常に機能しますが、
example.com/
またはexample.com/wp-admin / install.php 白い画面を返します。
これは私のnginx構成ファイルのロケーションブロックです 私の ただし、ページを読み込んだ後、wp-contentにエラーログが見つかりません。
試しました 編集:nginxerror.logでエラーが見つかりました php 7.4 、
php7.4-fpm 、
nginx 1.18.0
を使用しています。
location / {
ルート/var/ www / wordpress;
インデックスindex.php;
場所〜\ .php $ {
try_files $ uri = 404;
fastcgi_split_path_info ^(。+ \。php)(/。+)$;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
fastcgi_paramsを含める;
}
try_files $ uri $ uri / = 404;
}
wp-config.php
には次のものがあります define( 'WP_DEBUG', true );
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
error_reporting(E_ALL);
ini_set('display_errors', 1);
define('SCRIPT_DEBUG', true);
define('WP_CONTENT_DIR', '/var/www/wordpress/wp-content/');
/etc/php/7.4/cli/php.ini
wp-content/plugins
をwp-content/plugins_old
2022/01/07 00:33:32 [crit] 339913#339913: *1414 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: [redacted], server: 0.0.0.0:443
答え :
解決策:
解決策を include snippets/fastcgi-php.conf; が追加され、すべて問題ありませんでした。
同様の質問
私たちのウェブサイトで同様の質問で答えを見つけてください。