管理人:心は萌え/職業:世界の真ん中で愛を探すプログラマVer A## が贈る
独断と偏見で、ありとあらゆる物(主にライトノベル・コミック・アニメ・Geekネタ)のレビューを偽った感想を書いてるBlog=レビュー+ブログ=レビログ/レビログの半分は偏見で出来ています。

PHPで32Bit限界サイズ=4294967296バイト以上のファイルを扱う方法

CFLAGS=”-D_FILE_OFFSET_BITS=64″ ./configure –with-apxs2=/usr/local/apache2/bin/apxs –enable-mbstring –enable-mbregex –enable-zend-multibyte –enable-mbstr-enc-trans –with-mysql=/usr/local/mysql –enable-gettext –with-jpeg-dir –with-zlib –with-pear –enable-sockets –enable-mbstring-enc-trans –with-gd –enable-gd-native-ttf –with-pear –with-openssl –with-ssh2 –with-curl –enable-roxen-zts –with-gd –with-gif-dir –with-pdo-mysql=/usr/local/mysql

こんな感じで64Bitでコンパイル
PHPで大容量のファイルを操作する方法 – PHPプロ!ニュース
http://revilog.com/DeepInside/wiki/ServerTips/PHP/LargeFile


Trackback URL

コメント Leave a Reply