Re: cvs: php4 / run-tests.php

From: Date: Wed, 19 Feb 2003 06:20:42 +0000
Subject: Re: cvs: php4 / run-tests.php
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18978@lists.php.net to get a copy of this message
Which php.ini option controls this..? (AFAICS, this is available always, if the configure check succeeds) --Jani On Tue, 18 Feb 2003, Derick Rethans wrote: >derick Tue Feb 18 15:07:59 2003 EDT > > Modified files: > /php4 run-tests.php > Log: > - Add check for proc_open() being available > > >Index: php4/run-tests.php >diff -u php4/run-tests.php:1.144 php4/run-tests.php:1.145 >--- php4/run-tests.php:1.144 Sat Feb 15 22:48:48 2003 >+++ php4/run-tests.php Tue Feb 18 15:07:59 2003 >@@ -57,6 +57,19 @@ > exit; > } > >+if (!function_exists("proc_open")) { >+ echo <<<NO_PROC_OPEN_ERROR >+ >++-----------------------------------------------------------+ >+| ! ERROR ! | >+| The test-suite requires that proc_open() is available. | >+| Please check if you disabled it in php.ini. | >++-----------------------------------------------------------+ >+ >+NO_PROC_OPEN_ERROR; >+exit; >+} >+ > // change into the PHP source directory. > > if (getenv('TEST_PHP_SRCDIR')) { > > > > -- <- For Sale! ->

« previous php.cvs (#18978) next »