note 29755 deleted from function.dl by nlopess
| From: | nlopess@php.net | Date: | Sat, 03 Apr 2004 12:49:37 +0000 |
| Subject: | note 29755 deleted from function.dl by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67558@lists.php.net to get a copy of this message | ||
Note Submitter: tychay@php.net
----
dl() doesn't seem to work in PHP 4.3 on Mac OS X 10.2.4 (apxs or cli), despite claiming that
dynamic library support is "enabled" (Support was added somewhere around PHP 4.2, but I
guess it has regressed). For instance if you try to load an extension in the php.ini you get:
PHP Warning: Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20020429/gmp.so' - (null) in Unknown on line 0
Note that dl() and extensions does work in PHP 5.
Just thought this note would save some Mac users a lot of headache.