Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #17359 loadExtension() fails over missing dl() when used in multithread env
Submitted: 2010-04-30 10:09 UTC
From: chiether Assigned: dufuz
Status: Closed Package: PEAR (version 1.9.0)
PHP Version: 5.3.2 OS: Fedora release 7 (Moonshine)
Roadmaps: (Not assigned)    

 [2010-04-30 10:09 UTC] chiether (Norikaz Ishii)
Description: ------------ [ ] Note: dl() is not supported when PHP is built with ZTS support. and, in Japanese. dl() becomes invalid from PHP6(or later) ---- Apache/2.2.6 (Unix) enable_dl = On, safe_mode = Off loadExtention has been Fatal error. because undefined function. maybe, necessary function_exists("dl") on line:740 // if either returns true dl() will produce a FATAL error, stop that if( ... ) Expected result: ---------------- Fatal error: Call to undefined function dl() ...


 [2010-05-01 17:34 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
What exactly is the PEAR bug here? Pyrus is the PHP 5.3+ installer (see; so I'm confused as to what exactly this bug report is about...
 [2010-05-02 05:31 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Type: Feature/Change Request +Type: Bug -Assigned To: +Assigned To: dufuz
Why would you have enable_dl on if the function doesn't exist? This is a bug tho as we should check if dl() exists.
 [2010-05-06 06:47 UTC] chiether (Norikaz Ishii)
have a problem under conditions of 1. simple mistake php.ini pear.php send Fatal but not output becasuse use dl() with "@" i think better function return failed. 2. switch multithread webservice. but not modified enable_dl webservice builder may not know it. I do not understand whether this is a bug. but check only ini_get() is week; I think and request inspect and change code. sorry unfamiliar to report. and thanks comments.
 [2010-05-07 05:10 UTC] dufuz (Helgi Þormar Þorbjörnsson)
This is a bug :-) Thanks for bringing it to our attention and I hope you will submit more reports in the future. I will fix this for PEAR 1.9.2 since PEAR 1.9.1 is in code freeze right now.
 [2010-05-08 21:44 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Summary: request revise to loadExtension() +Summary: loadExtension() fails over missing dl() when used in multithread env -Status: Feedback +Status: Closed
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.