Hi
 Hope, you do have PostgreSQL 8.1 client libraries on the system. You 
could provide us the output of 'dump -Lv /usr/php5/modules/pgsql.so' 
and  'ldd -r /usr/php5/modules/pgsql.so' .

thanks
sriram

aric wrote:
> I live upgraded to build 81 from build 78 and have had difficulties moving 
> from apache 2 to apache 2.2. Finally all is working except for my php 
> connection to a pgsql database on the same computer as the web server. It 
> worked fine previously and I have changed nothing, but am now receiving the 
> following errors in my apache error log:
>
> [Mon Feb 04 16:38:24 2008] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 
> OpenSSL/0.9.8a DAV/2 PHP/5.2.4 configured -- resuming normal operations
>
> [Mon Feb 04 16:38:28 2008] [error] [client 10.1.45.14] PHP Fatal error:  Call 
> to undefined function pg_connect() in 
> /var/apache2/2.2/htdocs/rejection/index.php on line 43
>
> This same pg_connect() function works just fine in build 78 with apache 2. 
> How can I track down this problem to fix it?
>
> thanks,
> This message posted from opensolaris.org
>
> _______________________________________________
>
>
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>   

Reply via email to