fpassthru() error after update
fpassthru() error after update
am 12.12.2009 10:33:22 von newsgroups
Hi,
i use fpassthru() to "stream" video files in my webserver. I worked fine
for weeks but yesterday, after updating the webserver, i get the error
"Allowed memory size of 268435456 bytes exhausted (tried to allocate
1729609729 bytes) in ....."
Now PHP version is 5.2.11.
Any ideas?
Thanks
Alessandro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: fpassthru() error after update
am 12.12.2009 11:51:07 von Vincent Tumwijukye
--0016e6d58b2f48386e047a85d1ba
Content-Type: text/plain; charset=ISO-8859-1
This means that buffered video exceeded your memory limitof 260MB set in
your php.ini. Consider increasing it to higher value, if your computer has
say 1GB or more of RAM.
Kind regards
On Sat, Dec 12, 2009 at 11:33 AM, A. Mannini wrote:
> Hi,
>
> i use fpassthru() to "stream" video files in my webserver. I worked fine
> for weeks but yesterday, after updating the webserver, i get the error
>
> "Allowed memory size of 268435456 bytes exhausted (tried to allocate
> 1729609729 bytes) in ....."
>
> Now PHP version is 5.2.11.
>
> Any ideas?
>
> Thanks
>
> Alessandro
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Tumwijukye Vincent
Chief Executive Officer
Future Link Technologies
Plot 17 Bukoto Street,
P. O. BOX 14697,
KAMPALA - UGANDA
Tel: +256(0)774638790
Off:+256(0)41531274
Website: www.fl-t.com, www.savingsplus.info
--0016e6d58b2f48386e047a85d1ba--
Re: fpassthru() error after update
am 12.12.2009 12:05:47 von Vincent Tumwijukye
--0016e6d64956bc4a05047a86052b
Content-Type: text/plain; charset=ISO-8859-1
i
On Sat, Dec 12, 2009 at 12:51 PM, Vincent Tumwijukye
wrote:
> This means that buffered video exceeded your memory limitof 260MB set in
> your php.ini. Consider increasing it to higher value, if your computer has
> say 1GB or more of RAM.
>
> Kind regards
>
>
> On Sat, Dec 12, 2009 at 11:33 AM, A. Mannini wrote:
>
>> Hi,
>>
>> i use fpassthru() to "stream" video files in my webserver. I worked fine
>> for weeks but yesterday, after updating the webserver, i get the error
>>
>> "Allowed memory size of 268435456 bytes exhausted (tried to allocate
>> 1729609729 bytes) in ....."
>>
>> Now PHP version is 5.2.11.
>>
>> Any ideas?
>>
>> Thanks
>>
>> Alessandro
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
> --
> Tumwijukye Vincent
> Chief Executive Officer
> Future Link Technologies
> Plot 17 Bukoto Street,
> P. O. BOX 14697,
> KAMPALA - UGANDA
> Tel: +256(0)774638790
> Off:+256(0)41531274
> Website: www.fl-t.com, www.savingsplus.info
>
--
Tumwijukye Vincent
Chief Executive Officer
Future Link Technologies
Plot 17 Bukoto Street,
P. O. BOX 14697,
KAMPALA - UGANDA
Tel: +256(0)774638790
Off:+256(0)41531274
Website: www.fl-t.com, www.savingsplus.info
--0016e6d64956bc4a05047a86052b--
Re: fpassthru() error after update
am 12.12.2009 12:09:12 von Vincent Tumwijukye
--0016e6d64956018452047a861276
Content-Type: text/plain; charset=ISO-8859-1
I forgot to mention that you will need to restart your web server after
after making that change. Like I mentioned earlier, the script streaming the
video is trying to access more memory than the accessible 260MB, by any php
script on that server
On Sat, Dec 12, 2009 at 12:51 PM, Vincent Tumwijukye
wrote:
> This means that buffered video exceeded your memory limitof 260MB set in
> your php.ini. Consider increasing it to higher value, if your computer has
> say 1GB or more of RAM.
>
> Kind regards
>
>
> On Sat, Dec 12, 2009 at 11:33 AM, A. Mannini wrote:
>
>> Hi,
>>
>> i use fpassthru() to "stream" video files in my webserver. I worked fine
>> for weeks but yesterday, after updating the webserver, i get the error
>>
>> "Allowed memory size of 268435456 bytes exhausted (tried to allocate
>> 1729609729 bytes) in ....."
>>
>> Now PHP version is 5.2.11.
>>
>> Any ideas?
>>
>> Thanks
>>
>> Alessandro
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
> --
> Tumwijukye Vincent
> Chief Executive Officer
> Future Link Technologies
> Plot 17 Bukoto Street,
> P. O. BOX 14697,
> KAMPALA - UGANDA
> Tel: +256(0)774638790
> Off:+256(0)41531274
> Website: www.fl-t.com, www.savingsplus.info
>
--
Tumwijukye Vincent
Chief Executive Officer
Future Link Technologies
Plot 17 Bukoto Street,
P. O. BOX 14697,
KAMPALA - UGANDA
Tel: +256(0)774638790
Off:+256(0)41531274
Website: www.fl-t.com, www.savingsplus.info
--0016e6d64956018452047a861276--
Re: fpassthru() error after update
am 12.12.2009 14:47:12 von newsgroups
Vincent Tumwijukye ha scritto:
> This means that buffered video exceeded your memory limitof 260MB set in
> your php.ini. Consider increasing it to higher value, if your computer has
> say 1GB or more of RAM.
>
> Kind regards
>
Dear Vicent,
i know what the error message is saying but...before upgrading i had the
same PHP settings (256 memory limit), the same script with fpassthru and
the same videos (greater than 256MB) and all worked fine.
At least before upgrading, i supposed fpassthru "streamed" videos in
progress mode without buffering ALL before starting to send...
This is the problem...
Thanks
Alessandro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php