hallo,
ich hab schon wieder ein problem
habe postgres, php (von entropy) auf tiger laufen. die php-skripte funktionieren auf einem linux-server problemlos (php4, auf beiden rechnern), d.h. grundsaetzlich muesste das login lokal auf meinem rechner ja auch tun. versuche ich mich jedoch ueber die web-oberflaeche einzuloggen, bekomme ich o.g. fehlermeldung. (die funktion ist sehr wohl definiert + tut wie gesagt auf einem anderen rechner auch.)
hab ueber google folgenden hinweis gefunden:
http://www.php-faq.de/q/q-fehler-modul-unix.html
auf php.net
http://de.php.net/manual/en/function.pg-connect.php
diesen user-comment:
ich hab schon wieder ein problem
hab ueber google folgenden hinweis gefunden:
http://www.php-faq.de/q/q-fehler-modul-unix.html
auf php.net
http://de.php.net/manual/en/function.pg-connect.php
diesen user-comment:
letzteres ist fuer mich komplett boehmisches dorf. kann mir bitte jemand weiterhelfen?After upgrading to PHP 4.2.3 from PHP 4.1.2 (Red Hat Linux Advanced Server with Stronghold 4.0) in order to manually compile in MHASH support, I discovered that Postgres support has disappeared, despite being specified on the command line, and compiling with no errors. [...] FATAL: Undefined function: pg_connect()
Confirmed by looking at the output of phpinfo() and comparing it to the output pre-upgrade - no mention of PostgreSQL in the new one.
Detective work led me to find that the old pgsql.so in /usr/lib/php4 was untouched, and the new one had ended up in /usr/lib/20020429 instead.
The fix was to edit config_vars.mk after configuration to change the value of EXTENSION_DIR, and then compile.