Howto compiling PHP with using static libxml2 instead of the shared one

From: Date: Fri, 08 Sep 2006 10:59:08 +0000
Subject: Howto compiling PHP with using static libxml2 instead of the shared one
Groups: php.install 
Request: Send a blank email to php-install+get-17625@lists.php.net to get a copy of this message
Hi there! Please can somone help me how my configure-command should lokk like or what I can do that PHP5 is compiled with the static libxml2.a instead of the shared libxml2.so. I've tried it with this: LDFLAGS="-R/usr/local/phplibs/libxml2/usr/local" truss -o trussout './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/opt/mysql/mysql' '--prefix=/usr/local/apache/php' '--with-config-file-path=/usr/local/apache/php' '--enable-force-cgi-redirect' '--disable-cgi' '--with-zlib' '--with-gettext' '--with-gd' '--with-png-dir=/usr/sfw' '--with-jpeg-dir=/usr/sfw' '--with-freetype-dir=/usr/sfw' But this won't work. Thanks in advance, Markus

« previous php.install (#17625) next »