###前提・実現したいこと
windows10 64bitにてローカル環境にwordpressを導入していたところ、"http://localhost/wordpress/wp-admin/setup-config.php?step=1&language=ja"でデータベース接続のための詳細を入力、送信後にHTTP ERROR 500となりインストールを行うことができません。apache,php,mysqlは動作しており、データベースも作成済みです。apacheのログは以下の通りです。
###発生している問題・エラーメッセージ
[Thu Jan 04 22:11:59.444810 2018] [php7:warn] [pid 11552:tid 1084] [client ::1:52436] PHP Warning: Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in C:\Apache24\htdocs\wordpress\wp-includes\load.php on line 404, referer: http://localhost/wordpress/wp-admin/setup-config.php?step=1&language=ja [Thu Jan 04 22:11:59.444810 2018] [php7:warn] [pid 11552:tid 1084] [client ::1:52436] PHP Warning: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in C:\Apache24\htdocs\wordpress\wp-includes\load.php on line 404, referer: http://localhost/wordpress/wp-admin/setup-config.php?step=1&language=ja [Thu Jan 04 22:11:59.444810 2018] [php7:warn] [pid 11552:tid 1084] [client ::1:52436] PHP Warning: Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in C:\Apache24\htdocs\wordpress\wp-includes\load.php on line 404, referer: http://localhost/wordpress/wp-admin/setup-config.php?step=1&language=ja [Thu Jan 04 22:11:59.444810 2018] [php7:warn] [pid 11552:tid 1084] [client ::1:52436] PHP Warning: Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in C:\Apache24\htdocs\wordpress\wp-includes\load.php on line 404, referer: http://localhost/wordpress/wp-admin/setup-config.php?step=1&language=ja [Thu Jan 04 22:11:59.602961 2018] [php7:error] [pid 11552:tid 1084] [client ::1:52436] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Apache24\htdocs\wordpress\wp-includes\wp-db.php:1571\nStack trace:\n#0 C:\Apache24\htdocs\wordpress\wp-admin\setup-config.php(282): wpdb->db_connect()\n#1 {main}\n thrown in C:\Apache24\htdocs\wordpress\wp-includes\wp-db.php on line 1571, referer: http://localhost/wordpress/wp-admin/setup-config.php?step=1&language=ja
###該当のソースコード
ここにご自身が実行したソースコードを書いてください
###試したこと
"https://www.adminweb.jp/wordpress/"を参考にApache,php,mysqlを導入しました。
###補足情報(言語/FW/ツール等のバージョンなど)
win10 64bit home
Chrome:63.0.3239.84(Official Build) (64 ビット)
Server version: Apache/2.4.29 (Win64)
mysql version:5.7.20
PHP Version:7.2.1
wordpress:4.9.1 ja
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。