From: muhlig at us dot edu dot pl Operating system: Solaris 8 PHP version: 4.3.4 PHP Bug Type: CGI related Bug description: php extension not loaded
Description: ------------ php extension is not loaded while running as cli binary. from php.ini: extension="/usr/local/lib/php/extensions/mmcache.so" it can be seen "./" is prepended to "extension" path, ie. web module wants absolute path while cli binary wants relative path, which is inconsistent. it is also possible extension should NOT be loaded at all while running as cli binary. Reproduce code: --------------- N/A Expected result: ---------------- # php -v PHP 4.3.4 (cli) (built: Nov 5 2003 09:08:10) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies # Actual result: -------------- # php -v PHP Warning: Unknown(): Unable to load dynamic library './/usr/local/lib/php/extensions/mmcache.so' - ld.so.1: php: fatal: .//usr/local/lib/php/extensions/mmcache.so: open failed: No such file or directory in Unknown on line 0 PHP 4.3.4 (cli) (built: Nov 5 2003 09:08:10) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies # -- Edit bug report at http://bugs.php.net/?id=26308&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26308&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26308&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26308&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26308&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26308&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26308&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26308&r=support Expected behavior: http://bugs.php.net/fix.php?id=26308&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26308&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26308&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26308&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26308&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26308&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26308&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26308&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26308&r=float