Req #41310 [Opn]: make extension_dir optional and use absolute paths in "extension = ..."
| From: | jani@php.net | Date: | Wed, 29 Dec 2010 10:45:59 +0000 |
| Subject: | Req #41310 [Opn]: make extension_dir optional and use absolute paths in "extension = ..." | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157373@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: jani@php.net
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
PHP Version: *
Block user comment: N
Private report: N
New Comment:
See also bug #9095
Previous Comments:
------------------------------------------------------------------------
[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