Reply to Re: --with-pgsql=WHERE?

Your name:

Reply:


Posted by ljb on 10/23/46 11:40

matthew.crouch@spamlessverizon.net wrote:
> I need an installation with Postgres support, and was happy to find in
> my phpinfo that there was a
> --with-pgsql=shared
> option in the config line.
>
> but I still got "call to undefined function: pgsql_connect (4.3.11)
>...

Did phpinfo show the module information ("PostgreSQL Support")?
If not, and PHP was built with pgsql shared, you probably have the module but it
isn't loaded. You would load it either from php.ini (extension=pgsql.so)
or from a script with dl().

And the function is called pg_connect(), not pgsql_connect().

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация