Re: [PHP4BETA] zend error in PHP4RC2dev: strstr() crashes
| From: | Andreas Jung | Date: | Tue, 04 Apr 2000 12:59:15 +0000 |
| Subject: | Re: [PHP4BETA] zend error in PHP4RC2dev: strstr() crashes | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13084@lists.php.net to get a copy of this message | ||
On Tue, Apr 04, 2000 at 02:57:51PM +0200, thies@digicol.de wrote:
> On Tue, Apr 04, 2000 at 02:47:43PM +0200, Andreas Jung wrote:
> > On Tue, Apr 04, 2000 at 02:35:40PM +0200, thies@digicol.de wrote:
> > -> see attachments
>
> > <?
> >
> > // $Id: config.php3,v 1.6 2000/03/31 07:11:46 secprint Exp $
> >
> > $HOME = "/home/secprint";
> > // $PROJECT_ROOT = "$HOME/TEST";
> > // $PROJECTS_DIR = "$HOME/PROJEKTE";
> > // $PROJECT_ROOT = "TEST";
> > // $PROJECTS_DIR = "$HOME/PROJEKTE";
> >
> >
> > $SMODE = "Test Server";
> >
> > if (strstr($DOCUMENT_ROOT,"/home/secprint/PROD/html")!="") {
> > $SMODE = "Produktionsserver";
> > $PROJECT_ROOT = "$HOME/PROD";
> > }
> > exit();
> > ?>
>
> works for me - are u sure you are using the latest cvs and
> have a consistent build?
>
> cvs upd -dP Zend TSRM php4
> cd php4
> ./cvsclean
> ./buildconf
> ./configure --your-options
> make
> make install
> ...
>
It´s build from the latest snapshot from snaps.php.net (4.4.00).
Andreas