Linux: September 2012 Archives

PHP post_max_size 2047M for 32 bit

user-pic
Vote 0 Votes

32 bit PHP post_max_size 的最大值是 2047M, 這是因為 32 bit signed integer 限制,
php.ini 裡的 post_max_size 設定若超過 2047M, 會導致程式不正常, 抓不到 POST 變數的資料.
64 bit 則無此限制.
一般來說, memory_limit > post_max_size > upload_max_filesize

whois 若出現 Unknown AS number or IP network. Please upgrade this program.
表示太舊了, 查不到新的 IP 區段, 需要更新
wget http://ftp.debian.org/debian/pool/main/w/whois/whois_5.0.18.tar.xz
xzdec whois_5.0.18.tar.xz | tar xv # 若沒有 xz 套件到 XZ Utils 抓 source tar ball 安裝
cd whois-5.0.18
make
make install

About this Archive

This page is an archive of entries in the Linux category from September 2012.

Linux: August 2012 is the previous archive.

Linux: November 2012 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Linux: Monthly Archives

Monthly Archives