Re: [PHP4BETA] PHP Problems

From: Date: Fri, 11 Feb 2000 20:01:02 +0000
Subject: Re: [PHP4BETA] PHP Problems
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10147@lists.php.net to get a copy of this message
Hmm, that what must be causing it, I did run Configure twice. I am running 4.0b3 php version. I also did not any problems running the cgi executable (no NT though) and the problems that I've been having are exactly with split and regex expressions. I also sometime get weird things like if I forget to put a $ for a variable like if ($i == 0) i = 1; the page that I get back says: "document returned no data" and absolutely no errors are written anywhere. Hopefully, when I try to redo the regex thing during compile, it will start working. I am getting apache 1.3.11 now and JServ 1.1 (which is not compiling right now and I am waiting for responses from their mailing list now :). Once I get that running, I will try to solve this php problem and post the results. Thanks for your feedback. Now I am not the only one with solaris to notice these problems. Victor Peter Kocks wrote: > > Also, I am having problems with php (It is compiled into apache) to > > compile with system regex because it complains (when I compile apache) > > that some stuff is defined twice. Any ideas? > > > > Php is also sometime having problems with memory allocation, dumping > > core on some scripts, especially when regex's are used. > > > > I am running solaris 7 (sparc) > > Apache 1.3.9 with JServ 1.1b3 > > I'm using a recent php snapshot (Feb 9), Solaris 7 (intel), mod_perl as > well. > > I've noticed that if you compile with the --with-system-regex function > everything works fine. I do not get things multiply defined. So, I don't > get the same error as you. However, I'm very careful to run configure only > once on a clean distribution. I've noticed similair build problems when > I do multiple configure(s) on the same source tree. > > With NO (--with-system-regex). I find trouble when using split() or any > other regex based function. I get seg faults and memory allocation errors. > This only happens when php is run within apache. Run php as a script > (/usr/local/bin/php) has no trouble. So, in this case I have the same error > as you. > > Which version of php are you using? > > --pk > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net

« previous php.version4 (#10147) next »