Phpinfo » 履歴 » バージョン 1
aoki yuji, 2015/05/04 15:12
1 | 1 | aoki yuji | h1. Phpinfo |
---|---|---|---|
2 | 1 | aoki yuji | |
3 | 1 | aoki yuji | phpの情報参照 |
4 | 1 | aoki yuji | |
5 | 1 | aoki yuji | 今回は調べたいモジュールをsqliteとします。 |
6 | 1 | aoki yuji | コマンドは以下の通り |
7 | 1 | aoki yuji | |
8 | 1 | aoki yuji | <pre> |
9 | 1 | aoki yuji | $ php -i "phpinfo()" | grep with-sqlite |
10 | 1 | aoki yuji | </pre> |
11 | 1 | aoki yuji | |
12 | 1 | aoki yuji | すると以下のような応答に・・・(長い) |
13 | 1 | aoki yuji | phpとsqliteが連携できるようにセットアップされていることがわかります。 |
14 | 1 | aoki yuji | |
15 | 1 | aoki yuji | <pre> |
16 | 1 | aoki yuji | [g0946029@tk2-229-24424 php.d]$ php -i "phpinfo()" | grep with-sqlite |
17 | 1 | aoki yuji | PHP Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in Unknown on line 0 |
18 | 1 | aoki yuji | 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' |
19 | 1 | aoki yuji | </pre> |
20 | 1 | aoki yuji | |
21 | 1 | aoki yuji | インストールされてない場合は以下のようにコマンドを打つと↑と同じような応答が得られます。 |
22 | 1 | aoki yuji | |
23 | 1 | aoki yuji | <pre> |
24 | 1 | aoki yuji | $ php -i "phpinfo()" | grep with-sqlite |
25 | 1 | aoki yuji | </pre> |