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

RE: PHP + APACHE + POSTGRES



No sé interpretarlo pero, al hacer lo que me indicas, en el apartado pgsql
esto es lo que me sale. Los 0 CREO que indican que no está activado este
soporte, ¿correcto?. ¿Cómo lo soluciono sin compilar (que no sé)?

PostgreSQL Support enabled
--------------------------
Active Persistent Links 0
Active Links 0

Directive Local Value Master Value
----------------------------------
pgsql.allow_persistent  On On
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited

|> He metido el paquete php4 y php-pgsql y configurado a manija httpd.conf y
|> php.ini.
|> Ahora la web ya no se indexa por archivos y directorios, como antes, y sí
|> que "trata" de verse. Sin embargo da un error:
|>
|> -- function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document;
|> if((p=n.indexOf("?"))>0&&parent.frames.length) {
|> d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
|> if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i
|> Fatal error: Call to undefined function: pg_query() in
|> /var/www/webprueba/includes/barra_top_index.php on line 46
|
|Crea un archivo phpinfo.php que contega la siguiente linea
|
|phpinfo();
|
|Luego usa el browser y ejecuta este php y ve si esta el soporte para
|postgres activado. Lo mas probables es que no lo este.



Reply to: