[PHP] Max file size in fopen()

2010-02-19 Thread Darvin Denmian
Hello, I need to open a file with more than 2GB but the following error occurs: failed to open stream: Value too large for defined data type in /srv/www/sandboxes/dev02/test.php on line 2 I'm running this php in a 32 bits system. Googling I found that with the option "CFLAGS="-D_FILE_OFFSET_BIT

Re: [PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
' does it show the same > time zone and DST flag? > > Which one is wrong? > > Bob McConnell > > -Original Message- > From: Darvin Denmian [mailto:darvin.denm...@gmail.com] > Sent: Friday, October 16, 2009 1:47 PM > Cc: php-general@lists.php.net > Su

Re: [PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
h Masoud >> Darvin Denmian wrote: >>> >>> - I'm running Red Hat Linux (5.3) >>> - The system timezone is set to America/Sao_Paulo >>> >>> I'm running a stand-alone php script (crontab) , and I don't know how > PHP >>> output th

Re: [PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Could this issue be caused by outdated version of timezonedb (http://pecl.php.net/package/timezonedb) ? Thanks. On Fri, Oct 16, 2009 at 2:31 PM, Joseph Masoud wrote: > Darvin Denmian wrote: >> >> Thanks for your reply >> >> - I'm running Red Hat Linux (5.3)

Re: [PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Thanks for your reply - I'm running Red Hat Linux (5.3) - The system timezone is set to America/Sao_Paulo I'm running a stand-alone php script (crontab) , and I don't know how PHP output this wrong hour. The output of command "php -i " shows: Default timezone => America/Sao_Paulo I don't k

[PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Hello, My currently timezone is set to : America/Sao_Paulo My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009 But when I execute "echo date("d/m/Y H:i:s");" the output presented have +1 hour Bellow [date] of php.ini: date date/time support => enabled "Olson" Timezone Database Version =>

[PHP] Wrong Date

2009-10-16 Thread Darvin Denmian
Hello, My currently timezone is set to : America/Sao_Paulo My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009 But when I execute "echo date("d/m/Y H:i:s");" the output presented have +1 hour Bellow [date] of php.ini: date date/time support => enabled "Olson" Timezone Database Version =>