Today i have updated my MacBook to OS X 10.9.
After the update new configs (httpd.config and php.ini) were added and the old configs was renamed previous
. I changed the confignames and everything works finde. Everything? No, postgres were not loaded. I created a phpinfo() test.php
to check this. And yes, postgres were not loaded.
A view into the apache error log say PHP Fatal error: Call to undefined function pg_connect()
. This is the logical response.
EDIT:
I tried the solutions from: here But still the same problem.
I manually installed PDO_postgres
with pecl. Now phpinfo()
shows the pdo_pgsql
extension and apache can load the dynamic library. But i need the normal pgsql
extension. I still get the:
PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20100525/php_pgsql.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20100525/php_pgsql.dll
error.
How can i install the normal pgsql
extensions manually? Pecl don't find the package.
I can successfully connect to my databases with PGAdmin.
Do someone know how i can fix the problem? Have i forgot something to change?
EDIT2:
I solved the problem with installing pgsql
extension manually.