Re: PHP shows nothing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel

On Wed, Dec 1, 2010 at 1:28 AM, Daniel P. Brown
<daniel.brown@xxxxxxxxxxxx>wrote:

> On Tue, Nov 30, 2010 at 16:51, Mohammad Taghi Khalifeh
> <khalifeh.mt@xxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux