Re: PHP shows nothing

From: Date: Wed, 01 Dec 2010 03:28:33 +0000
Subject: Re: PHP shows nothing
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-309782@lists.php.net to get a copy of this message
Daniel On Wed, Dec 1, 2010 at 1:28 AM, Daniel P. Brown <daniel.brown@parasane.net>wrote: > On Tue, Nov 30, 2010 at 16:51, Mohammad Taghi Khalifeh > <khalifeh.mt@gmail.com> wrote: > > it seems that the problem is in pg_connect(). > > Do you have PostgreSQL support compiled into PHP? > > Command line: > php -i | egrep -i 'postgres|pgsql' > > Web: > <?php phpinfo(); /* Check in a browser for 'pgsql' or 'postgres' > */ > ?> > In Command line output, there was --with-pgsql=shared and --with-pdo-pgsql=shared, but phpinfo() did not load any library related to pgsql. so I figured out that some libraries are not installed. Installing php-pgsql package from fedora repos, problem solved. Thank you so much for your help: it works for me very well. :) Other thing that I want to know is that, somewhere<http://us2.php.net/manual/en/pdo.installation.php>I read that loading pdo drivers as shared libraries are not recommended. whats wrong with that? and how can I change that? Mohammad

« previous php.general (#309782) next »