質問編集履歴

1

追記以下を追記

2016/02/27 02:23

投稿

GOROGORO
GOROGORO

スコア66

test CHANGED
File without changes
test CHANGED
@@ -67,3 +67,107 @@
67
67
  どなたかお分かりになるかた助けてください。
68
68
 
69
69
  以上よろしくお願いします!!
70
+
71
+
72
+
73
+
74
+
75
+ 追記
76
+
77
+ サーバのコマンドライン上で以下のコマンドを実行しました。
78
+
79
+
80
+
81
+ ```ここに言語を入力
82
+
83
+ php phpinfo.php
84
+
85
+
86
+
87
+ ```
88
+
89
+
90
+
91
+ ```ここに言語を入力
92
+
93
+ [root@vagrant-centos64 wordpress]# php phpinfo.php | grep mysql
94
+
95
+ Configure Command => './configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/lib64/mysql/mysql_config' '--enable-dom=shared' '--with-pgsql=shared' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-curl=shared,/usr' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr/lib64/mysql/mysql_config' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-sqlite3=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--without-readline' '--with-libedit' '--with-pspell=shared' '--enable-phar=shared' '--with-tidy=shared,/usr' '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--enable-fileinfo=shared' '--enable-intl=shared' '--with-icu-dir=/usr' '--with-enchant=shared,/usr' '--with-recode=shared,/usr'
96
+
97
+ /etc/php.d/mysql.ini,
98
+
99
+ /etc/php.d/mysqli.ini,
100
+
101
+ /etc/php.d/pdo_mysql.ini,
102
+
103
+ mysql
104
+
105
+ MYSQL_SOCKET => /var/lib/mysql/mysql.sock
106
+
107
+ MYSQL_INCLUDE => -I/usr/include/mysql
108
+
109
+ MYSQL_LIBS => -L/usr/lib64/mysql -lmysqlclient
110
+
111
+ mysql.allow_local_infile => On => On
112
+
113
+ mysql.allow_persistent => On => On
114
+
115
+ mysql.connect_timeout => 60 => 60
116
+
117
+ mysql.default_host => no value => no value
118
+
119
+ mysql.default_password => no value => no value
120
+
121
+ mysql.default_port => no value => no value
122
+
123
+ mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
124
+
125
+ mysql.default_user => no value => no value
126
+
127
+ mysql.max_links => Unlimited => Unlimited
128
+
129
+ mysql.max_persistent => Unlimited => Unlimited
130
+
131
+ mysql.trace_mode => Off => Off
132
+
133
+ mysqli
134
+
135
+ MYSQLI_SOCKET => /var/lib/mysql/mysql.sock
136
+
137
+ mysqli.allow_local_infile => On => On
138
+
139
+ mysqli.allow_persistent => On => On
140
+
141
+ mysqli.default_host => no value => no value
142
+
143
+ mysqli.default_port => 3306 => 3306
144
+
145
+ mysqli.default_pw => no value => no value
146
+
147
+ mysqli.default_socket => no value => no value
148
+
149
+ mysqli.default_user => no value => no value
150
+
151
+ mysqli.max_links => Unlimited => Unlimited
152
+
153
+ mysqli.max_persistent => Unlimited => Unlimited
154
+
155
+ mysqli.reconnect => Off => Off
156
+
157
+ PDO drivers => mysql, sqlite
158
+
159
+ pdo_mysql
160
+
161
+ PATH => /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/lib64/mysql
162
+
163
+ _SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/lib64/mysql
164
+
165
+
166
+
167
+ ```
168
+
169
+
170
+
171
+ ローカルからコマンドでphpinfo()をしたときはmysql関連のモジュールが読み込まれているようですが、ブラウザからアクセスすると、mysql関連の情報は表示されませんでした。
172
+
173
+ apacheの設定なのでしょうか。。。