[PHP] fpassthru() error after update

2009-12-12 Thread A. Mannini
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

Re: [PHP] fpassthru() error after update

2009-12-12 Thread A. Mannini
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

[PHP] exec() problem

2009-11-14 Thread A. Mannini
Hi all, i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache 2.2.13. Safe mode is OFF and Apache isn't chrooted. I would run /usr/lib/mailman/bin/find_member -l list email so i used exec(sudo run /usr/lib/mailman/bin/find_member -l list email,$output) and set /etc/sudoers

[PHP] exec() problem

2009-11-14 Thread A. Mannini
Hi all, i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache 2.2.13. Safe mode is OFF and Apache isn't chrooted. I would run /usr/lib/mailman/bin/find_member -l list email so i used exec(sudo run /usr/lib/mailman/bin/find_member -l list email,$output) and set /etc/sudoers

Re: [PHP] exec() problem

2009-11-14 Thread A. Mannini
Ashley Sheridan ha scritto: Have you checked to ensure that the exec is actually running at all? Check the error logs to see what they say. There may be a problem with the string argument for exec(), like an unescaped character that is causing an issue Thanks, Ash

Re: [PHP] exec() problem

2009-11-14 Thread A. Mannini
Ashley Sheridan ha scritto: On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote: Ashley Sheridan ha scritto: Have you checked to ensure that the exec is actually running at all? Check the error logs to see what they say. There may be a problem with the string argument for exec(), like

Re: [PHP] exec() problem

2009-11-14 Thread A. Mannini
Ashley Sheridan ha scritto: On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote: Ashley Sheridan ha scritto: Have you checked to ensure that the exec is actually running at all? Check the error logs to see what they say. There may be a problem with the string argument for exec(), like

Re: [PHP] exec() problem [SOLVED]

2009-11-14 Thread A. Mannini
Ashley Sheridan ha scritto: On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote: Ashley Sheridan ha scritto: Have you checked to ensure that the exec is actually running at all? Check the error logs to see what they say. There may be a problem with the string argument for exec(), like