note 14674 added to faq.databases.php
| From: | craig at nerds dot net | Date: | Wed, 08 Aug 2001 21:50:43 +0000 |
| Subject: | note 14674 added to faq.databases.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16491@lists.php.net to get a copy of this message | ||
Postgres and PHP. If you receive an error of "undefined function" when trying to connect
to a Postgres database on a UNIX box, you may have to do the following:
1. Locate the pgsql.so file on your server.
2. Create a symbolic link to that file in the directory that you are working in.
3. Inlcude this line at the beginning of your PHP Code: dl("pgsql.so");
Your Postgres should work correctly.
http://www.php.net/manual/en/faq.databases.php