Re: POSTGRESQL & PHP

From: Date: Mon, 09 Sep 2002 20:53:56 +0000
Subject: Re: POSTGRESQL & PHP
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-21649@lists.php.net to get a copy of this message
"Miles Thompson" wrote: > 1. run a script containing phpinfo() function and confirm you have support > for pgsql > 2. add code to display the error message generated by either php or pgsql > when you try to connnect > 3. (Maybe this should have been first) I don't know about Windows systems, > but on *nix, PostgreSQL has to be started with the -i switch to be > accessible from the Internet. Check docs. > > Hope this helps - Miles Thompson Yes, it does :) First, I had to remove one little semicolon in php.ini (extensions) and configure extensions.patch. After restart of Apache PHP began to display some errors that finally guided me to succesfull pg_connect. Thanks!

« previous php.db (#21649) next »