note 29755 modified in function.dl by tychay

From: Date: Tue, 04 Mar 2003 11:07:49 +0000
Subject: note 29755 modified in function.dl by tychay
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44821@lists.php.net to get a copy of this message
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. --was-- dl() doesn't seem to work in PHP 4.3 on Mac OS X (apxs or cli), despite claiming that dynamic library support is "enabled" (This bug was "fixed" somewhere around PHP 4.2, but I guess it has regressed). Note that it does work on PHP 5. Just thought this note would save some Mac users a lot of headache. http://www.php.net/manual/en/function.dl.php

« previous php.notes (#44821) next »