> > On Thu, 8 Jul 1999, Oleg Broytmann wrote:
> > >    Run Postgres with TCP/IP disabled (remove -i from start-up
> options).
> > 
> > Ok, but I must to integrated postgres with PHP3. If I remove -i php3
> does
> > not works.
> 
> Yep, block that port.  I don't think php can use unix domain sockets,
> but I may be wrong.
> 
        Unless something changed in one of the very recent update of PHP,
you can use unix domain sockets with php's pg_connect and pg_pconnect.  All
you need to do is not supply a host and port.
         i.e. pg_connect('','','','','template1');

Reply via email to