|
Posted by Jerry Stuckle on June 12, 2009, 2:32 pm
Please log in for more thread options Jivanmukta wrote:
show/hide quoted text
>> I'm not sure which files you're indicating aren't found - are they the
>> PHP dlls? If so, do they exist in the directory?
> Yes. They are PHP DLLs and they exist in the directory.
>
>> do you have the PostgreSQL libraries installed and available to the web
server?
show/hide quoted text
> I downloaded PostgreSQL from producer's website. I don't know what
> libraries you mean. PHP packege contains extensions (mentioned DLLs)
> which I enabled in php.ini. I didn't install other packages with
> PostgreSQL libraries.
>
> Please help.
All the PHP libraries do is provide linkage to the PostgresSQL
libraries. They are not Postgres in themselves. You still need the
Postgres libraries available to the web server, i.e. in your PATH statement.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
|
> I use Apache 2.2, PostgreSQL 8.3 and PHP 5.2.9-2 in Windows XP Home. I
> would like to use PDO driver for PostgreSQL.
> In php.ini I have:
>
> extension_dir="C:/Program Files/PHP/ext/"
> [PHP_PDO]
> extension=php_pdo.dll
> [PHP_PDO_PGSQL]
> extension=php_pdo_pgsql.dll
>
> (and there are such files in ext/ folder).
> Problem: phpinfo does not show PDO pgsql, although I shows PDO for
> MySQL and SQLite.
> In error.log of Apache I noticed (messages are in Polish):
>
> PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Program
> Files/PHP/ext/php_pdo_pgsql.dll' - Nie mo\xbfna odnale\x9f\xe6 okre
> \x9clonego
> modu\xb3u.\r\n in Unknown on line 0
> PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Program
> Files/PHP/ext/php_pdo_sqlite_external.dll' - Nie mo\xbfna odnale\x9f
> \xe6
> okre\x9clonego modu\xb3u.\r\n in Unknown on line 0
> PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Program
> Files/PHP/ext/php_pgsql.dll' - Nie mo\xbfna odnale\x9f\xe6 okre
> \x9clonego
> modu\xb3u.\r\n in Unknown on line 0
>
> The Polish message means: Cannot find module ...
> Please help.
> Thanks.