Re: problem with shared object file

From: Date: Thu, 26 Apr 2007 11:19:28 +0000
Subject: Re: problem with shared object file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-253840@lists.php.net to get a copy of this message
Marten Lehmann wrote: > Hello, > > I'm trying to include a shared object file with the function dl(). But I > always get: > > Warning: dl() [function.dl]: Unable to load dynamic library > '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared > object file: No such file or directory in /homepages/xyz/test.php on line 5 Some other notes from the docs you may have missed. This kinda zaps it's usefulness IMO. Note: dl() is not supported in multithreaded Web servers. Use the extensions statement in your php.ini when operating under such an environment. However, the CGI and CLI build are not affected ! Note: As of PHP 5, the dl() function is deprecated in every SAPI except CLI. Use Extension Loading Directives method instead. Note: Since PHP 6 this function is disabled in all SAPIs, except CLI, CGI and embed. Note: dl() is case sensitive on Unix platforms. Note: This function is disabled in safe mode. Col

« previous php.general (#253840) next »