note 14674 deleted from faq.databases by sniper
| From: | sniper@php.net | Date: | Tue, 27 Aug 2002 21:05:41 +0000 |
| Subject: | note 14674 deleted from faq.databases by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35798@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.