Re: php_pgsql.dll problem
| From: | Javier Poot | Date: | Mon, 07 Apr 2003 18:58:47 +0000 |
| Subject: | Re: php_pgsql.dll problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19335@lists.php.net to get a copy of this message | ||
Hello, You must set the following line in php.ini
extension_dir = C:\Program Files\php\extensions\
Regards.
Peter Kmet wrote:
Hello, i'm trying to use php with postgres on win32 i have found some problems with php 4.3.1 (same for php 4.3.0) and php_pgsql.dll. When i try to load php_pgsql.dll extension in php.ini i get error notice PHP Warning: Unknown(): Unable to load dynamic library 'C:\Program Files\php\extensions\php_pgsql.dll' - The specified procedure could not be found. file php_pgsql.dll exists. I have found on internet that this problem can be caused by missing libpq.dll from postgres distribution so i downloaded postgresql-7.3.1 and compiled with VC5.0 interface libpq and copied libpq.dll and libpq.lib and copied it to winnt/system32 folder (i tried php dll extensions dir as well) but i still have same warning and pg_* functions are not avilable. Your help is very appreciated Peter Kmet --