For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > September 2006 > Howto compiling PHP with using static libxml2 instead of the shared one









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2006-09-08, 7:58 am

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







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com