ID: 46296 Updated by: [EMAIL PROTECTED] Reported By: shadowblade989 at gmail dot com -Status: Open +Status: Bogus Bug Type: PostgreSQL related Operating System: Ubuntu 8.04 (gnome) PHP Version: 5.2.6 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php See http://br2.php.net/manual/en/install.unix.apache2.php Previous Comments: ------------------------------------------------------------------------ [2008-10-15 04:22:18] shadowblade989 at gmail dot com 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) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46296&edit=1