[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

php4, apache y postgresl 7 de LaEspiral



No consigo conectar con postgresql 7

Tengo de LaEspiral:
	postgresql 7
	libpgsql2

De potato:
	php4
	php4-pgsql
	apache

El error:

Warning: Unable to load dynamic library '/usr/lib/php4/apache/pgsql.so'
- libpq.so.2.0: cannot open shared object file: No such file or
directory in /home/httpd/index.php on line 16

Fatal error: Call to undefined function: pg_connect() in
/home/httpd/index.php on line 17


Las líneas 16 y 17 del script php son:

dl("pgsql.so");
pg_connect("host=localhost dbname=template1 user=postgres");


Gracias por las ayudas

Saludos

David



Reply to: