Fwd: FreeBSD Port: pear-PEAR-1.3.3.1_1
Antônio Carlos Venâncio Júnior
antonio at php.net
Tue Dec 14 02:59:40 PST 2004
Thierry,
I think it would be better to do this way:
----------
if (!extension_loaded('pcre')) {
dl('pcre.so');
}
if (!extension_loaded('xml')) {
dl('xml.so');
}
----------
May I add a PR with diffs to solve this?
Thierry Thomas wrote:
> Antônio,
>
> ----- Forwarded message from Markus Seifert <m.seifert at macnews.de> -----
>
>
>>From: Markus Seifert <m.seifert at macnews.de>
>>Date: Mon, 13 Dec 2004 01:04:30 +0100
>>Subject: FreeBSD Port: pear-PEAR-1.3.3.1_1
>>To: antonio at php.net
>>Cc: ports at FreeBSD.org
>>User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
>>
>>Hi,
>>
>>there is a bug in the patch for the pearcmd
>>(patch-scripts::pearcmd.php), the pear and pear2 scripts will fail if
>>'prce.so' and/or 'xml.so' are already loaded. it should look something
>>like the following:
>>
>>if(!function_exists('preg_match')){
>> dl('pcre.so');
>>}
>>
>>if(!function_exists('utf8_decode')){
>> dl('xml.so');
>>}
>>
>>
>>Greetings
>>Markus
>
>
> ----- End forwarded message -----
>
> I confirm the problem reported by Markus. Do you approve the given
> solution?
>
> Markus,
>
> Could you please send a PR to keep a track in the bugs database?
>
> Regards,
--
Ate'
Antonio
echo antonio php net | sed 's/ /@/;s/ /./g'
FreeBSD/OpenBSD | PHP/MySQL | PGP Key ID 0x5BBEB073
"Can't buy what I want because its FREE!" - Pearl Jam
More information about the freebsd-ports
mailing list