Vine Linux 6 (Haut Brion) を Web サーバーとしてインストールした時にハマってしまい手間取った件やちょっとしたコツなどを未来の自分のためにメモを残しておく。 
# /sbin/chkconfig NetworkManager off # /sbin/chkconfig network on
IPV6INIT=no USERCTL=no
alias ipv6 off options ipv6 disable=1
PHP 5.0.5 以降、write ハンドラおよび close ハンドラはオブジェクトが破棄されたあとにコールされます。 そのため、セッション内でデストラクタを使用可能ですが、 ハンドラ内ではオブジェクトを使用できません。
この「ニワトリが先かタマゴが先か」の問題を解決するために、 デストラクタから session_write_close() を コールすることが可能です。
// for PHP >= 5.0.5
function __destruct() {
session_write_close();
}sent 22603409218 bytes received 57124873 bytes 405880.91 bytes/sec total size is 23151105507 speedup is 1.02 rsync warning: some files vanished before they could be transferred (code 24) at main.c(1060) [sender=3.0.7]
Vine Linux FAQ - powered by phpMyFAQ 2.6.17
不要なサービスを停止 2011-10-17 (月) 16:16:28
CentOS 5.5 IPV6を無効化 - おじさんの備忘録-番外編- 2011-10-19 (水) 22:16:41
見落としがちなLinuxのWEBチューニング | Act as Professional - プロとしての行為 2011-10-26 (水) 17:12:56| Page Info | |
|---|---|
| Page Name : | nao-pon/Vine Linux 6 (Haut Brion) |
| Page aliases : | Vine 6 |
| Page owner : | nao-pon |
| Can Read | |
| Groups : | All visitors |
| Users : | All visitors |
| Can Edit | |
| Groups : | No one |
| Users : | nao-pon@携帯 |
ログイン
メインメニュー
付箋メニュー
MenuBar (UsersWiki)
ブックマーク
サイト内 Wiki
☆ 検索 ☆
オンライン状況
サイト情報
現在ページのQRコード
参照元情報
Post a new comment