Re: Fails to enable dynamic library support

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

 



Artzi, Yoav (Yoav) wrote:
In my phpinfo() I get (under standard):
Dynamic Library support not available
I can't seem to get PHP to be configured to allow dynamic libraries. My
php.ini is:
enable_dl="1"
extension_dir="/usr/local/lib/php/extensions/no-debug-zts-20050922/"
extension=logmanager.so
And myconfigure line is:
'./configure' '--host=powerpc-wrs-linux-gnu' '--build=i686-linux'
'--prefix=/usr/local' '--enable-releasemode' '--enable-xml'
'--cache-file=config.cache' '--enable-libxml'
'--with-libxml-dir=/home/artzi/work/down/temp/target/usr/local'
'--disable-simplexml' '--enable-dom' '--enable-soap' '--with-db'
'--enable-memory-limit' '--disable-safe-mode' '--enable-sockets'
'--enable-track-vars' '--enable-trans-sid' '--enable-magic-quotes'
'--enable-inline-optimization' '--without-pear' '--disable-all'
'--disable-shared' '--enable-static' '--disable-ipv6' '--disable-wddx'
'--disable-bcmath' '--disable-debug' '--disable-calendar'
'--disable-ftp' '--with-zlib' '--with-exec-dir=/usr/local/appweb'
'--sysconfdir=/usr/local/appweb' '--with-gnu-ld' '--with-openssl=/usr'
'--without-aolserver' '--without-apache' '--without-continuity'
'--without-pi3web' '--enable-mbstring' '--disable-mbregex'
'--enable-session' '--enable-pcntl' '--enable-pdo' '--with-pdo-sqlite'
'--with-pcre-regex' '--enable-spl' '--enable-tokenizer'
'--disable-rpath'
'--with-snmp=/home/artzi/work/down/temp/target/usr/local'
'--enable-ctype' '--with-ctype' '--with-tsrm-pthreads'
'--enable-threadsafe' '--enable-maintainer-zts' '--enable-embed=shared'
'--enable-cgi' '--enable-cli'
I can't seem to understand where I go wrong. Obviously something is
wrong, but what?

That doesn't really tell us what's going on. What happens when you try:

dl('extension.so');

?


On a side note, please read the configure --help output:

--enable-maintainer-zts

configure: --enable-maintainer-zts Enable thread safety - for code maintainers only!!"

You might have problems with things with that enabled.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
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