Re: problem with shared object file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux