|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-10-15 13:45 UTC] felipe@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 12 16:00:01 2025 UTC |
Description: ------------ I have a large project that I'm converting from a fully working mysql setup to use pgSQL. I've installed PostgreSQL version 8.3.3 and rebuilt PHP using the following config: ./configure --with-pgsql=/usr/local/pgsql After everything appeared to successfully install, I went to test my project and all of my pg_ functions return: Fatal error: Call to undefined function pg_*() in.... (obviously where * is the rest of the function - its the same for all of them) However, I tried to run a pg function from the command line using php -r and they work as expected (i.e. php -r "pg_connect('host=localhost');" returns an error saying there is no password, rather than an undefined function) I've tried several php snapshots and they all have similar or equal behavior. (my current one is still the release of 5.2.6 as stated)