Req #41310 [Opn->Csd]: make extension_dir optional and use absolute paths in "extension = ..."

From: Date: Mon, 18 Apr 2011 20:11:52 +0000
Subject: Req #41310 [Opn->Csd]: make extension_dir optional and use absolute paths in "extension = ..."
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-160266@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=41310&edit=1 ID: 41310 Updated by: johannes@php.net Reported by: mastamind at users dot sourceforge dot net Summary: make extension_dir optional and use absolute paths in "extension = ..." -Status: Open +Status: Closed Type: Feature/Change Request Package: PHP options/info functions Operating System: * PHP Version: * -Assigned To: +Assigned To: johannes Block user comment: N Private report: N New Comment: That was fixed with PHP 5.3.0 Previous Comments: ------------------------------------------------------------------------ [2011-04-18 16:46:57] tyra3l at gmail dot com it works for me with 5.3.6: extension /usr/lib/php5/20090626/pdo.so correctly loads the pdo extension from the absolute path. Tyrael ------------------------------------------------------------------------ [2010-12-29 11:45:59] jani@php.net See also bug #9095 ------------------------------------------------------------------------ [2007-05-07 00:44:27] mastamind at users dot sourceforge dot net Description: ------------ using extension_dir = "/usr/local/lib/php" extension = "../pgsql.so" makes php search for pgsql.so in /usr/local/lib. It would be nice if php allows absolute paths for extension loading: extension = /usr/local/lib/pgsql.so as specifing it relative to the extension_dir is quite strange and probably makes extension_dir useless. specifing absolute paths with dl() may result in a security problem, but using it in php.ini may be ok. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=41310&edit=1

« previous php.bugs (#160266) next »