[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
** Attachment added: "php.ini for php-cli" http://launchpadlibrarian.net/16773758/php.ini ** Description changed: Binary package hint: php5-cli I've written small script for generate sql query: echo "INSERT INTO prices (category_from_id, category_to_id, fee) VALUES "; for($i = 1; $i <= 18; $i++){ for($j = 1; $j <= 18; $j++){ $fee = rand(1, 100); echo "($i, $j, $fee), "; } } echo "\n"; - and when output exceeds 4kB, it generates invalid error: + and when output exceeds 4kB, it generates invalid output (lost few characters): (18, 5, 83), (18, 6, 71), (1(18, 8, 48), (1(18... instead (18, 7, 12), (18... I've output buffering turned off (as can see in attached php.ini file) My system (Kubunty) version details: $ lsb_release -rd Description:Ubuntu 8.04.1 Release:8.04 $ php --version PHP 5.2.4-2ubuntu5.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jul 23 2008 06:44:49) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies ** Description changed: Binary package hint: php5-cli I've written small script for generate sql query: echo "INSERT INTO prices (category_from_id, category_to_id, fee) VALUES "; for($i = 1; $i <= 18; $i++){ for($j = 1; $j <= 18; $j++){ $fee = rand(1, 100); echo "($i, $j, $fee), "; } } echo "\n"; and when output exceeds 4kB, it generates invalid output (lost few characters): (18, 5, 83), (18, 6, 71), (1(18, 8, 48), (1(18... instead (18, 7, 12), (18... - I've output buffering turned off (as can see in attached php.ini file) + I've output buffering turned off (as can see in attached php.ini file). + On native php 5.2.6 everything works OK (checked on another machine) - My system (Kubunty) version details: + My system (Kubunt) version details: $ lsb_release -rd Description:Ubuntu 8.04.1 Release:8.04 $ php --version PHP 5.2.4-2ubuntu5.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jul 23 2008 06:44:49) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
I can't reproduce this; [EMAIL PROTECTED]:~$ php --version PHP 5.2.4-2ubuntu5.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jul 23 2008 06:46:18) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies I've tried with both mcrypt extension installed and without. Neither produces the error for me. What php extensions do you have installed. I can only think something is going on there. Are you on 64 bit or 32 bit? I've tried on both amd64 and 32bit. Neither produces the error. The only other strange thing is that my build is 2 minutes later than yours for php. Is something funny going on there. Can you force a reinstall of php and see if the bug continues? -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
> The only other strange thing is that my build is 2 minutes later than yours for php. Is something funny going on there. Different architectures? -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
Unfortuently, this bug appeared only on Hardy and I've made update to Intrepid few weeks ago (and it everything works OK on it). I'm working as webdeveloper so I've installed almost all php* modules. If it will help, the machine is Dell' workstation with Intel Pentium 4 2GHz on Intel chipset and very funny Intel graphics card, which breaks X server when starting with splash screen enabled. If you want, I can give you more details about the system, but I'll do it on Monday when I back to work ;) -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
I don't care what machine you have. Have you installed 32-bit or 64-bit arch? Run "dpkg --print-architecture" and append output here. -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
i386 -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
Yes, different architectures is correct. I posted the amd64 'php --version'. My i386 build reports the same build time as the original reporter. And still neither machine is able to produce the error. Without more details I'm not sure how to diagnose this problem. Pawel, you are not experiencing this on the new version of ubuntu (8.10) and you don't have any other machines with the fault. Is that correct? If that is all correct, should this be closed? -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
** Changed in: php5 (Ubuntu) Status: New => Incomplete -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 257892] Re: PHP (Cli) generates invalid output when it exceeds 4kB
Closing its fixed for the user apparently. Regards chuck ** Changed in: php5 (Ubuntu) Status: Incomplete => Fix Released -- PHP (Cli) generates invalid output when it exceeds 4kB https://bugs.launchpad.net/bugs/257892 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs