- 追加された行はこの色です。
- 削除された行はこの色です。
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*PHP55 への変更が反映されない [#vf9e64c0]
*PHP55 のバージョン変更が phpinfo() に反映されない [#vf9e64c0]
http://qiita.com/armorik83/items/bccb98a3e34e957894f2
http://d.hatena.ne.jp/nakamura001/20131218/1387354549
http://furudate.hatenablog.com/entry/2013/12/20/111259
PHP52 を PHP54にバージョンアップするとき、
# portupgrade -Rf --batch lang/php5
などとしてインストールすると、標準出力上での # php -v のバージョンは変わっているのに、phpinfo() の表示は古いまま、ということが有ります。
# portupgrade -rf --batch lang/php5
こちらを実行すると phpinfo()での表示も新しくなりますが、デフォルトインストールディレクトリな phpMyAdmin や Joomla があれば、上書きインストールさるので要注意!
981 5:05 php -i
982 5:10 cd /usr/ports/lang/php5
983 5:10 make config
984 5:12 make deinstall
985 5:12 portinstall -r lang/php5
986 5:14 apachectl restart
987 5:14 php -v
988 5:15 pkg info
989 5:27 portupgrade -PP lang/php5
990 5:28 pnp -v
991 5:28 php -v
992 5:29 portupgrade -R lang/php5
993 5:36 php -v
994 5:36 apachectl restart
995 5:37 portupgrade -R php54
996 5:37 portupgrade php54
997 5:38 portupgrade -R lang/php5
998 5:38 portupgrade -Rf lang/php5
999 5:40 portupgrade -Rf --batch lang/php5
1000 5:51 reboot
1001 5:54 php -v
1002 5:54 portupgrade -rf --batch lang/php5
1003 6:13 apachectl restart
1004 6:15 cd /usr/local/www/
1005 6:15 ll
1006 6:16 cp -rp joomla31_bk joomla31
1007 6:17 apachectl restart
1008 6:17 apachectl restart
1009 6:21 php -v
1010 6:23 php -v
1011 6:23 history
**console # php -i [#odb3b5a0]
piano2nd.smb.net
mbstring
Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled
libmbfl version => 1.3.2
mbstring extension makes use of "streamable kanji code filter and converter",
which is distributed under the GNU Lesser General Public License version 2.1.
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 4.7.1
Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
mail.smb.net
mbstring
Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled
libmbfl version => 1.3.2
mbstring extension makes use of "streamable kanji code filter and converter",
which is distributed under the GNU Lesser General Public License version 2.1.
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 4.7.1
Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
* PHP5 入れ換え [#acc467a8]
lang/php5 のコンパイルオプションに、debugをいれたら、extensions のフォルダ名が、20100525-debugとなっていた。
で、debug 無しの環境へ変更するメモ。
** # pkg delete php5-\* [#t1c21d83]
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 65 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
php5-5.4.44
php5-bcmath-5.4.44
php5-bz2-5.4.44
php5-calendar-5.4.44
php5-ctype-5.4.44
php5-curl-5.4.44
php5-dba-5.4.44
php5-dom-5.4.44
php5-exif-5.4.44
php5-fileinfo-5.4.44
php5-filter-5.4.44
php5-ftp-5.4.44
php5-gd-5.4.44
php5-gettext-5.4.44
php5-gmp-5.4.44
php5-hash-5.4.44
php5-iconv-5.4.44
php5-imap-5.4.44
php5-interbase-5.4.44
php5-json-5.4.44
php5-ldap-5.4.44
php5-mbstring-5.4.44
php5-mcrypt-5.4.44
php5-mssql-5.4.44
php5-mysql-5.4.44
php5-mysqli-5.4.44
php5-odbc-5.4.44
php5-openssl-5.4.44
php5-pcntl-5.4.44
php5-pdo-5.4.44
php5-pdo_dblib-5.4.44
php5-pdo_firebird-5.4.44
php5-pdo_mysql-5.4.44
php5-pdo_odbc-5.4.44
php5-pdo_pgsql-5.4.44
php5-pdo_sqlite-5.4.44
php5-pgsql-5.4.44
php5-phar-5.4.44
php5-posix-5.4.44
php5-pspell-5.4.44
php5-readline-5.4.44
php5-recode-5.4.44
php5-session-5.4.44
php5-shmop-5.4.44
php5-simplexml-5.4.44
php5-snmp-5.4.44
php5-soap-5.4.44
php5-sockets-5.4.44
php5-sqlite3-5.4.44
php5-sybase_ct-5.4.44
php5-sysvmsg-5.4.44
php5-sysvsem-5.4.44
php5-sysvshm-5.4.44
php5-tidy-5.4.44
php5-tokenizer-5.4.44
php5-wddx-5.4.44
php5-xml-5.4.44
php5-xmlreader-5.4.44
php5-xmlrpc-5.4.44
php5-xmlwriter-5.4.44
php5-xsl-5.4.44
php5-zip-5.4.44
php5-zlib-5.4.44
pecl-APC-3.1.14_1
pecl-pdflib-3.0.4
The operation will free 24 MiB.
** php5 [#pd8ba784]
# cd /usr/ports/lang/php5
# make config
# portinstall lang/php5
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);