#26895 [Com]: PECL extension names are inconsistant

From: Date: Tue, 13 Jan 2004 17:40:47 +0000
Subject: #26895 [Com]: PECL extension names are inconsistant
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25034@lists.php.net to get a copy of this message
ID: 26895 Comment by: jan at horde dot org Reported By: mike at dransfield7565 dot fsnet dot co dot uk Status: Open Bug Type: PECL related Operating System: n/a PHP Version: Irrelevant New Comment: That's what PEAR::loadExtension() is for. Previous Comments: ------------------------------------------------------------------------ [2004-01-13 10:17:54] mike at dransfield7565 dot fsnet dot co dot uk Description: ------------ PECL extension names are inconsistant between operating systems, on Windows the extensions are named php_extension and on linux they are named just extension. This makes it very hard and messy to write cross platform applications, if the extensions were named the same, then you could do dl('php_extension.'.PHP_SHLIB_SUFFIX); Now you have to do a complicated check to see what naming convention your platform follows, then get the correct extension. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26895&edit=1

« previous php.pear.dev (#25034) next »