Hi,

I'm trying to compile php-4.3.11 with httpd-2.0.54 on RedHat9, but I get the error below:

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... apxs:Error: Invalid query string APU_BINDIR'.
apxs:Error: Invalid query string
APR_BINDIR'.
./configure: line 1: /apr-config: No such file or directory
./configure: line 1: /apu-config: No such file or directory
configure: error: Please note that Apache version >= 2.0.44 is required.

Below is the configure command:

./configure --enable-force-cgi-redirect --disable-rpath --with-db3 --with-curl --with-mcrypt --with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext --with-ncurses --with-gmp
--with-iconv --with-jpeg-dir=/usr --with-openssl --with-png-dir --with-pspell --with-regex=system --enable-trans-sid --with-tiff-dir --with-java --enable-mbstring --with-pgsql --with-ldap --with-zip --enable-debug --with-zlib --with-bz2 --enable-bcmath --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-yp --enable-wddx --with-pear=/usr/share/pear --with-imap=shared --with-imap-ssl --with-kerberos=/usr/kerberos --with-ldap=shared --with-mysql --with-snmp --enable-memory-limit --enable-bcmath --enable-shmop --enable-versioning --enable-track-vars --enable-calendar --enable-dbx --enable-dio --with-mcal --with-apxs2=/usr/sbin/apxs

What am I doing wrong???

Thnx

    Write a Reply...