カテゴリー
Vulnerability

本家のお世話-#24。(PHP5.3.9へアップデート)

投稿アップデート情報  追記(4/11)

 昨日(まっ,UTCだと10日付になるが),PHP5.3.9 がリリースされた。徳丸さんの日記の記事なんかもあって,よくわからないけど大変なのねー,ということでアップデートしてみた(爆)。

  1. 何はともあれ,php-5.3.9-Win32-VC9-x86.zip をダウンロード,サーバ機がWindowsXpSP3(x86)なので。
  2. 適当なところに,ファイルを展開。
  3. 5.3.8 の php.ini-production と 5.3.9 の php.ini-production を
    fc /n c:php.ini-production c:phpphp.ini-production >c:compare.txt
    で比べてみた。スペルミスの訂正を除くとiniで変わっているのは以下のところだった。
    ————————————————————-
    ; Enables or disables the circular reference collector.
    ; http://php.net/zend.enable-gc
    zend.enable_gc = On
    ————————————————————-
    ; How many GET/POST/COOKIE input variables may be accepted
    ; max_input_vars = 1000

    ; Maximum amount of memory a script may consume (128MB)
    ————————————————————-
    ;windows.show_crt_warning
    ; Default value: 0
    ; Development value: 0
    ; Production value: 0
    ————————————————————-
    [xsl]
    ; Write operations from within XSLT are disabled by defaul
    ; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK
    ; Set it to 0 to allow all operations
    ;xsl.security_prefs = 44

    ; Local Variables:
    ————————————————————-
    DOS:FCコマンドの使い方については,「DOS:FCコマンド “/N” スイッチを使用する場合について」とコンソールから HELP FC で確認のこと。

  4. 以上のようなことなので,新しい php.ini-production を我が家用にカスタマイズして,phpフォルダごと入れ換え,Apacheを再起動。WP Mail SMTP のことがあるので,php.iniのカスタマイズのときに,extension=php_openssl.dll も忘れずにアンコメントすること。

追記(4/11):
 PHP導入についての新しい記事を,本家のお世話-#28。本家のお世話-#29。に書いた。