Edit report at http://bugs.php.net/bug.php?id=41310&edit=1
ID: 41310
Comment by: tyra3l at gmail dot com
Reported by: mastamind at users dot sourceforge dot net
Summary: make extension_dir optional and use absolute paths
in "extension = ..."
Status: Open
Type: Feature/Change Request
Package: PHP options/info functions
Operating System: *
PHP Version: *
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2010-12-29 11:45:59] [email protected]
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