Hello,
I have a php script in a web page that connects to a postgres DB on another server. This script is functional and works on a standard Apache 2.2.x web server. I can not get it to work when published inside a Bluevoda page. the error that I get is:
Fatal error: Call to undefined function: pg_connect() in /home2/nnwmjywd/public_html/rates2.php on line 249
here is the start of the script with the obvious changed to protect the innocent:
<?php
$dbconn = pg_Connect ("host=xxx.xxx.xxx.xxx port=xxx dbname=xxx user=xxx password=xxx");
as I said this works other places so I am guessing I am missing a config at vodahost?
Thnak you for any sugestions,
JohnM
I have a php script in a web page that connects to a postgres DB on another server. This script is functional and works on a standard Apache 2.2.x web server. I can not get it to work when published inside a Bluevoda page. the error that I get is:
Fatal error: Call to undefined function: pg_connect() in /home2/nnwmjywd/public_html/rates2.php on line 249
here is the start of the script with the obvious changed to protect the innocent:
<?php
$dbconn = pg_Connect ("host=xxx.xxx.xxx.xxx port=xxx dbname=xxx user=xxx password=xxx");
as I said this works other places so I am guessing I am missing a config at vodahost?
Thnak you for any sugestions,
JohnM
Comment