Trabla: want to enable postgresql support in XAMPP server, get error messages:
Error message No1:
The program can't start because LIBPQ.dll is missing from your computer. Try reinstall the program to fix this problem.
or
Error message No2:
PHP Startup: Unable to load dynamic library
'C:\xampp\php\ext\php_pdo_pgsql.dll' - The specified module could not be found.
Solving:
------------------------------------------------------------------------------------1. Update php.ini file, located C:\xampp\php\php.ini
remove ";"
;extension=php_pdo_pgsql.dll -> extension=php_pdo_pgsql.dll
;extension=php_pgsql.dll -> extension=php_pgsql.dll
------------------------------------------------------------------------------------
2. Copy file dll
C:\xampp\php\libpq.dll
to
C:\xampp\apache\bin
------------------------------------------------------------------------------------
3. Restart Apache in XAMPP
------------------------------------------------------------------------------------
No comments:
Post a Comment