|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #8295 Allow using absolute path in extension= directive
Submitted: 2000-12-16 12:18 UTC Modified: 2010-12-03 17:17 UTC
From: bjoern at baer dot main dot de Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: * OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
24 + 16 = ?
Subscribe to this entry?

 [2000-12-16 12:18 UTC] bjoern at baer dot main dot de

we had our extension in /etc/httpd and in /usr/local/lib/php.ini
the following directive:


PHP failed in loading this extension because it searched in:


As a workaround, I made a symlink, but I wonder why PHP doesn't accept extensions having in another path than /usr/local/lib/php/extension/... ?

TIA, Bj?rn.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-24 12:22 UTC] bjoern at baer dot main dot de
Has it been fixed already now in CVS? (Can't test it at the moment)
 [2001-01-03 10:17 UTC]
Did you try using extension_dir directive?
 [2001-01-03 10:28 UTC] bjoern at baer dot main dot de
Works with extension_dir now, but the extension directive should care about an absolute path.
 [2001-04-16 06:30 UTC]
This is the correct behaviour. WIll change to feature/change request.

 [2010-12-03 17:15 UTC]
-Summary: absolute path in extension= directive in php.ini not recognized +Summary: Allow using absolute path in extension= directive -Package: Feature/Change Request +Package: PHP options/info functions -Operating System: Linux (SuSE 7.0) +Operating System: -PHP Version: 4.0 Latest CVS (16/12/2000) +PHP Version: *
 [2010-12-03 17:17 UTC]
-Status: Open +Status: Bogus
 [2010-12-03 17:17 UTC]
This is same as what is described in more recent bug #41310
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 20:01:24 2021 UTC