Wednesday, April 6, 2016

How to enable pdo_pgsql.so module in php.ini ?

You can check if it is installed on your server by looking for the file 'pdo_pgsql.so' in:

Code:
/usr/lib/php/extensions/no-debug-zts-<time stamp>/
(For example: /usr/lib/php/extensions/no-debug-zts-20060613/ )

If that file exists, make sure these three settings are in your php.ini file:
Code:
extension_dir = "/usr/lib/php/extensions/no-debug-zts-20060613/"
extension = pdo.so
extension = pdo_pgsql.so

No comments:

Post a Comment