I have installed apache with the following paramenters:
./configure --enable-ssl --with-ssl=/usr/local/ssl/ --enable-so --enable-modules=all
That installed fine and everything functions properly, including https. Then I attempted to install php, but keep getting errors on "make install". It compiles fine, but won't make the module for apache, even though I point it at apxs. I compile php with the following parameters:
./configure --disable-all --disable-cli \
--with-mysql=/usr/local/mysql/ \
--with-openssl=/usr/local/ssl \
--with-pdflib /usr/local/lib \
--with-zlib-dir=/usr/lib \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-ttf=/usr/lib \
--with-freetype-dir=/usr/lib \
--enable-versioning \
--enable-track-vars=yes \
--enable-url-includes \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--enable-ftp \
--with-config-file-path=/etc \
--with-gd \
--with-apxs2=/usr/local/apache2/bin/apxs
I have not installed any other packages associated these, and am running off of a RH9 system. The error I get when trying to install the compiled PHP files is:
Quote:
make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish /storage/php-4.3.4/libs'
Warning! dlname not found in /usr/local/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: failed to get attributes of `/usr/local/apache2/modules/libphp4.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
|
Any idea how can I make this work?