Thread: PostgreSQL
View Single Post
Old 8th March 2007, 17:42
BigMember BigMember is offline
Junior Member
Join Date: Jan 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto detection of postgresql?

I edited the compile file install_ispconfig/compile_aps/compile to look like the following for the php section:

cd ../${PHP}
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --enable-mbstring=all --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php ${WITH_OPENSSL} ${WITH_MYSQL} --disable-libxml --disable-dom --disable-xml ${WITH_ZLIB_DIR} --disable-xmlreader --disable-xmlwriter --disable-simplexml --without-pear --with-pgsql || error "Could not configure PHP"
make || error "Could not make PHP"
make install || error "Could not install PHP"
ln -s ${INSTALL_ROOT}/php/bin/php ${INSTALL_ROOT}/php/php

I re ./setup ispconfig. phppgadmin appears to work now.

Can future versions of ispconfig installation routines auto detect postgresql and postgresql-devel and compile --with-pgsql?
Reply With Quote