On Thursday 03 of March 2005 11:23, you wrote: > On Thu, Mar 03, 2005 at 09:51:38AM +0100, Piotr Roszatycki wrote: > > Package: libapache-mod-php4 > > Version: 4:4.3.10-8 > > Severity: important > > > > The following script > > > > <? dl('mysql.so'); ?> > > > > Produces the output: > > > > Warning: dl(): Not supported in multithreaded Web servers - use > > extension statements in your php.ini in /var/www/dl.php on line 1 > > > > with apache and apache2 SAPI. > > Yes, upstream has mindlessly disabled use of dl() over some vague, > unsubstantiated concern about dlopen() in threaded environments. I have > a patch somewhere to re-enable dl() when ZTS is turned on, it just > hasn't gotten added to the package yet.
It is going worse. http://cvs.sourceforge.net/viewcvs.py/phpmyadmin/phpMyAdmin/libraries/defines.lib.php?rev=2.28&view=auto Some scripts as phpMyAdmin try to detect if the dl() function is available with the same algoritm as PHP itself. I think it could be better to provide non-ZTS version for Apache 1.3 and ZTS version for threaded Apache 2.0. -- .''`. Piotr Roszatycki, Netia SA : :' : mailto:[EMAIL PROTECTED] `. `' mailto:[EMAIL PROTECTED] `- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]