Is it possible to disable the use of dynamically loaded extensions

stan@altungnade - December 9, 2008 - 09:56
Project:xapian
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:stan@altungnade
Status:closed
Description

When i enable Xapian over the module section, drupal tells me, that

"warning: dl() [function.dl]: Dynamically loaded extensions aren't enabled in /usr/share/php/xapian.php on line 23."

As far as i can see, i have to enable this feature (via php.ini an "enable_dl=On") but debian tells me, that this is a potential security hole. Is it possible to change the code (by patch or else) so that i doesn't need that feature any more?

Thankxs in advance

#1

Jeremy - April 1, 2009 - 14:55
Category:feature request» support request
Status:active» fixed

This suggests that you do not have Xapian compiled into your PHP installation. The xapian.php code referenced is not part of this project, it is provide by Xapian itself. What it is doing is trying to load the Xapian extension dynamically as it has not been compiled in. As it is not able to do either, it is reporting an error. You should be able to get more data by going to your Drupal status report.

#2

System Message - April 15, 2009 - 15:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.