Re: [PHP4BETA] zend error in PHP4RC2dev: strstr() crashes
| From: | thies at digicol dot de | Date: | Tue, 04 Apr 2000 12:57:51 +0000 |
| Subject: | Re: [PHP4BETA] zend error in PHP4RC2dev: strstr() crashes | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13083@lists.php.net to get a copy of this message | ||
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
...
>
Content-Description: phpinfo() output
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany