On Thu, Mar 03, 2005 at 11:57:00AM +0100, Piotr Roszatycki wrote: > 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. Ok, so, get them to fix their retarded and broken check? > I think it could be better to provide non-ZTS version for Apache 1.3 and ZTS > version for threaded Apache 2.0. "Other people write stupid and buggy code" is not much of a rationale for supporting double builds of all extensions. -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature