com php-src: allow dl() in FPM SAPI: ext/standard/dl.c

From: Date: Thu, 12 Dec 2013 08:47:40 +0000
Subject: com php-src: allow dl() in FPM SAPI: ext/standard/dl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-76652@lists.php.net to get a copy of this message
Commit: d494fa8a99a6ea6ec374effbbf31c56189ba9796 Author: Antony Dovgal <tony@daylessday.org> Sat, 31 Dec 2011 00:28:59 +0400 Committer: Antony Dovgal <tony2001@php.net> Thu, 12 Dec 2013 12:47:40 +0400 Parents: 652597fcff361cc9be02a641632f801257e58316 Branches: badoo-5..5_mysqlnd Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d494fa8a99a6ea6ec374effbbf31c56189ba9796 Log: allow dl() in FPM SAPI Changed paths: M ext/standard/dl.c Diff: diff --git a/ext/standard/dl.c b/ext/standard/dl.c index ceb975e..d81c733 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -72,6 +72,7 @@ PHPAPI PHP_FUNCTION(dl) if ((strncmp(sapi_module.name, "cgi", 3) != 0) && (strcmp(sapi_module.name, "cli") != 0) && + (strcmp(sapi_module.name, "fpm-fcgi") != 0) && (strncmp(sapi_module.name, "embed", 5) != 0) ) { #ifdef ZTS

« previous php.cvs (#76652) next »