Configure and compile php4 with CustomBuild

Mich

Verified User
Joined
Aug 29, 2007
Messages
19
Hi all,

I want to compile domxml with my php4 installation, i am using custombuild with php4 and php5 in CGI/FastCGI.

When i add --with-dom and such parameters in my /custom/ap2/configure.php4 file and build php with ./build php d, the script is going to compile php4 and php5 again, i dont know why it compile's php5 again but ok.

When its completed, i watch my phpinfo and domxml is not installed, and i dont see the parameter in the configure command.

Why is this?

My customer needs domxml.

You can see my php info here:
http://test1-brilliancehosting.nl/phpinfo.php

and my configure options:

Code:
./configure \
        --with-apxs2 \
        --with-curl \
        --with-curl-dir=/usr/local/lib \
        --with-gd \
        --enable-gd-native-ttf \
        --with-ttf \
        --with-gettext \
        --with-jpeg-dir=/usr/local/lib \
        --with-freetype \
        --with-freetype-dir=/usr/local/lib \
        --with-kerberos \
        --with-openssl \
        --with-mcrypt \
        --with-mhash \
        --with-mysql \
        --with-mysqli \
        --with-pear \
        --with-png-dir=/usr/local/lib \
        --with-xml \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --with-iconv=/usr/local \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-track-vars \
        --enable-mbstring \
        --with-dom \
        --with-dom-exslt \
        --with-dom-xslt \
        --enable-memory-limit
 
If php4_cgi is set to yes in your options.conf then you need to edit configure/suphp/configure.php4 file instead of configure/ap2/configure.php4.
 
Hmm, lol. ill try :d thanks, why isnt this mentioned in the faq?
 
Back
Top