Hello,
I'm new to this and having some issues compiling php with needed modules. I'd appreciate it if you guys can help me out.
When running the configuration file needed before running make and make install, I get the following error:
./php-configure.sh: line 23: --with-apxs2=/usr/sbin/apxs: No such file or directory
./php-configure.sh: line 22: --prefix=/www: No such file or directory
When I do locate apxs:
/usr/sbin/apxs
The system is redhat es 4 with the following rpms installed:
httpd-2.0.55-2.el4s1.8
httpd-devel-2.0.55-2.el4s1.8
MySQL-server-standard-5.0.24-0.rhel4
MySQL-client-standard-5.0.24-0.rhel4
MySQL-devel-standard-5.0.24-0.rhel4
The configuration file I need to run before make and make install:
./configure \
--with-mysql \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-dbase \
--enable-ftp \
--enable-force-cgi-redirect \
--with-freetype-dir=/usr/lib \
--enable-gd-native-ttf \
--enable-ge-imgstrttf \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-zlib \
--with-gd \
--with-sybase=/opt/sybase/OCS-12_5/ \
--with-ldap \
--with-mhash \
--enable-magic-quotes
--prefix=/www \
--with-apxs2=/usr/sbin/apxs --disable-cgi --enable-so
#commented out the following b/c coldn't get them to work.
--enable-imap \
--with-xml
--enable-iconv \