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