ID: 42511 Updated by: [EMAIL PROTECTED] Reported By: schneecrash+php at gmail dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: OSX, FreeBSD, Linux PHP Version: 5CVS-2007-09-01 (CVS) New Comment:
Check with short script like '<?php phpinfo(); ?> and find out what php.ini (if any) is loaded. (first section contains the info!) Previous Comments: ------------------------------------------------------------------------ [2007-09-01 18:03:21] schneecrash+php at gmail dot com Description: ------------ When using the CGI SAPI, Zend Extensions fail to load (and/or?) report as loaded. This issue was originally reported as a continuing comment to "CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options" http://bugs.php.net/bug.php?id=42453 but that bug was closed nonetheless. Reproduce code: --------------- With CLI SAPI: # php -v PHP 5.2.5-dev (cli) (built: Aug 31 2007 08:33:23) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with eAccelerator v0.9.6-dev, Copyright (c) 2004-2007 eAccelerator, by eAccelerator with Xdebug v2.1.0-dev, Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, by Derick Rethans With CGI SAPI: # php-cgi -v PHP 5.2.5-dev (cgi-fcgi) (built: Aug 31 2007 08:34:02) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Expected result: ---------------- same loading and report of loaded extensions in case of *both* php & php-cgi Actual result: -------------- CLI SAPI loads & reports extensions, CLI SAPI does not ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42511&edit=1