melomane21
New member
- Joined
- Aug 27, 2013
- Messages
- 2
Hi everyone
I searched the forum and web of course, the older threads didnt help.
We have a CentOS 6 directadmin enabled VPS and want to connect to postgresql through php 5.3.
I found a few helps like this one describing the steps. everything went without any problem, but i get the error "Fatal error: Call to undefined function pg_connect()" while trying to connect in php and "Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option." when accessing phpPgAdmin.
Although i recompiled php again after i add the line -with-pgsql but i dont find any thing about postgresql in phpinfo().
whats wrong?
is it possible that the custombuild does not use ap2/configure.php5? how?
Thanks
I searched the forum and web of course, the older threads didnt help.
We have a CentOS 6 directadmin enabled VPS and want to connect to postgresql through php 5.3.
I found a few helps like this one describing the steps. everything went without any problem, but i get the error "Fatal error: Call to undefined function pg_connect()" while trying to connect in php and "Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option." when accessing phpPgAdmin.
Although i recompiled php again after i add the line -with-pgsql but i dont find any thing about postgresql in phpinfo().
whats wrong?
is it possible that the custombuild does not use ap2/configure.php5? how?
Thanks