Hi I am able to Successfully compile PHP 4.0.6 with imap and pgsql as an Apache DSO. But after make and make install Apache is not restarting saying that it cannot find libpq.so.2 So I copied the libpq.so.2 from /usr/local/pgre/lib/ to /var/lib/apache/libexec but still apache wont restart. I'm using Postgre latest 7.1.2 Has there been any recent major changes in the dir structure of PostGre Or Do I need to include any thing like mod_pgre.so in httpd.conf. regards /Chandu