Re: Re: str_replace() problem in PHP5 - RESOLVED

From: Date: Thu, 05 Aug 2004 20:10:16 +0000
Subject: Re: Re: str_replace() problem in PHP5 - RESOLVED
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192926@lists.php.net to get a copy of this message
On Thu, 05 Aug 2004 07:21:35 -0700, Jon Bertsch <jon.bertsch@ucop.edu> wrote: > Curt and Justin, > > Thanks for the ideas. I resolved this by removing the str_replace() call > from within a function that I was calling and running it in-line in the > code. Since the html string was less than 500 char it seems unlikely that > it was memory but that's also about the only thing that would be different > between prod and dev environments so that's the best candidate for causing > the problem (php.ini set at default 8M). There were no error messages at > all, the script would just end and the logs showed nothing at all, as if it > was never even called. > > Jon Bertsch > As I said, that sounds like a threading issue. Another difference between dev and prod is load. Try using "prefork" apache 2 or apache 1. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.general (#192926) next »