|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15082 too slow
Submitted: 2002-01-17 08:11 UTC Modified: 2002-06-17 19:01 UTC
Avg. Score:2.0 ± 1.0
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: a dot marahovsky at thewebproduction dot com Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.0.6 OS: Linux Mandrake 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: a dot marahovsky at thewebproduction dot com
New email:
PHP Version: OS:


 [2002-01-17 08:11 UTC] a dot marahovsky at thewebproduction dot com
if php script running in unix shell it works TOO slowly
under web server or NT command line works fine.

problem line is ereg_replace
this command process <20 text lines under unix shell (with 30 sec timeout)
if >20 lines - execution timeout erorr
if >50 lines - unix error "fragmentation fault"
but under web server or NT console it process >1000 text lines per half second!


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-01 22:05 UTC]
Can you supply a short reproducing script that causes this problem?  You may also want to try upgrading if that is a possibility for you.

 [2002-06-17 19:01 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 00:01:27 2024 UTC