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')) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php