note 30438 added to function.dl
| From: | alan at akbkhome dot com | Date: | Tue, 18 Mar 2003 14:08:33 +0000 |
| Subject: | note 30438 added to function.dl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45458@lists.php.net to get a copy of this message | ||
As of php 4.3 the best cross platform way to load extension is to use PHP_SHLIB_SUFFIX
eg.
if (!extension_loaded('php-gtk')) {
dl('php_gtk.' .PHP_SHLIB_SUFFIX );
}
--
http://www.php.net/manual/en/function.dl.php
http://master.php.net/manage/user-notes.php?action=edit+30438
http://master.php.net/manage/user-notes.php?action=delete+30438
http://master.php.net/manage/user-notes.php?action=reject+30438