ID:               36478
 User updated by:  uzair at infinilogic dot com
 Reported By:      uzair at infinilogic dot com
-Status:           Feedback
+Status:           Closed
-Bug Type:         Unknown/Other Function
+Bug Type:         *Compile Issues
 Operating System: Linux 2.4.x
 PHP Version:      4.4.2
 New Comment:

Thanks, It worked when php compiled with the following flags to gcc.

-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

I need to understand why the default PHP doesnot compile with large
file support, is there any problem doing so ... When PHP is used in
production environment nobody can take risk.

Is it fine to deploy PHP with large file support with heavy loaded
apache 2.0 ???
Any known problem in that ?

I am closing the bug, but please reply ...


Previous Comments:
------------------------------------------------------------------------

[2006-02-22 05:00:56] judas dot iscariote at gmail dot com

did you recompile PHP with large File support ??

http://php.net/filesystem

------------------------------------------------------------------------

[2006-02-21 17:40:41] uzair at infinilogic dot com

Description:
------------
Get a 2GB file in any of your file system say ./iolog-default

then execute the script with php commandline ...

<?
error_log("this is a test message",3,"./iolog-default");
?>

I am using XFS, and checked creating larger files from other programs.

Reproduce code:
---------------
<?
error_log("this is a test message",3,"./iolog-default");
?>


Expected result:
----------------
It should log more then 2GB file .. the OS supports it. I am using XFS,
and checked creating larger files from other programs.

Actual result:
--------------
It doesnot log any byte after 2GB file size.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36478&edit=1

Reply via email to