Browsing the archives for the osx postgres php 10.5 tag.

Mac Server 10.5 + Postgres + PHP

technical

install postgres from binary distribution (enterprisedb packaged)
install apache2
install php5

tar -xvf php-5.2.6.tar.gz
cd php-5.2.6
./configure –with-pgsql=/Library/PostgreSQL/8.3 –with-apxs2
make
cp libs/libphp5.so /usr/libexec/apache2
cd /usr/sbin
cp httpd httpd.original
lipo httpd -thin i386 -output
apachectl configtest
apachectl graceful

No Comments