./configure \
--with-apxs2=/usr/local/apache/bin/apxs \
--prefix=/usr/local/apache/php \
--with-config-file-path=/usr/local/apache/php
make && make install
I see no critical errors during the configuration, and none during installation.
Apache is installed at /usr/local/apache
, and the apxs has been verified to be correct.
/usr/local/apache/php
is not being created and neither is libphp5.so being generated anywhere.
I'm installing 5.2.17 on centos.
EDIT: Here's the full configure command:
./configure \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql \
--prefix=/usr/local/apache/php \
--with-config-file-path=/usr/local/apache/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-openssl \
--with-mcrypt \
--with-gd \
--with-pdo-mysql \
--without-sqlite \
--without-sqlite3 \
--enable-pdo \
--without-pdo-sqlite \
--with-zlib \
--with-gettext \
--with-gdbm \
--enable-pcnlt \
--with-curl
libphp5.so
should be in/usr/local/apache/modules
.httpd.exp
yum
in centos?