Re: Fails to enable dynamic library support
| From: | David Tulloh | Date: | Thu, 22 Jun 2006 02:49:11 +0000 |
| Subject: | Re: Fails to enable dynamic library support | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238496@lists.php.net to get a copy of this message | ||
From the dl page of the manual, "Note: dl() is not supported in
multithreaded Web servers..."
By passing the --enable-maintainer-zts flag you are forcing PHP into
running in multithreaded mode.
David
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?
>
> Thanks,
>
> Yoav.
>