WordPressの構築

MySQLの設定 WordPressのインストール は問題なく進めたが、 http://{サーバーのPublicIP}/ にアクセスしても、WordPressのインストール開始画面が表示されない。→conf.d に移動して、php54をインストール [root@ip-172-30-2-226 src]# cd /etc/httpd/conf.d/ [root@ip-172-30-2-226 conf.d]# pwd /etc/httpd/conf.d [root@ip-172-30-2-226 conf.d]# ls -l total 20 -rw-r–r– 1 root root 2877 Dec 18 23:01 autoindex.conf -rw-r–r– 1 root root 347 Dec 18 22:59 notrace.conf -rw-r–r– 1 root root 366 Dec 18 23:01 README -rw-r–r– 1 root root 1252 Dec 18 22:59 userdir.conf -rw-r–r– 1 root root 500 Dec 18 22:59 welcome.conf [root@ip-172-30-2-226 conf.d]# yum install php54 Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
Resolving Dependencies –> Running transaction check —> Package php54.x86_64 0:5.4.45-1.75.amzn1 will be installed –> Finished Dependency Resolution

Dependencies Resolved

================================================================================

Package Arch Version Repository Size

Installing: php54 x86_64 5.4.45-1.75.amzn1 amzn-main 3.1 M

Transaction Summary

Install 1 Package

Total download size: 3.1 M Installed size: 8.8 M Is this ok [y/d/N]: y Downloading packages: php54-5.4.45-1.75.amzn1.x86_64.rpm | 3.1 MB 00:00
Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : php54-5.4.45-1.75.amzn1.x86_64 1/1 Verifying : php54-5.4.45-1.75.amzn1.x86_64 1/1

Installed: php54.x86_64 0:5.4.45-1.75.amzn1

Complete! [root@ip-172-30-2-226 conf.d]# ls -l total 24 -rw-r–r– 1 root root 2877 Dec 18 23:01 autoindex.conf -rw-r–r– 1 root root 347 Dec 18 22:59 notrace.conf -rw-r–r– 1 root root 691 Sep 11 21:27 php.conf -rw-r–r– 1 root root 366 Dec 18 23:01 README -rw-r–r– 1 root root 1252 Dec 18 22:59 userdir.conf -rw-r–r– 1 root root 500 Dec 18 22:59 welcome.conf [root@ip-172-30-2-226 conf.d]# service httpd reload Reloading httpd: [ OK ] [root@ip-172-30-2-226 conf.d]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]