Hi
i have directadmin installed on centos 6
i want to connect to a postgresql-server via php which is on another server.
the version of my installed php is 5.3 (with mod_suphp).
The Problem is that version of my php doesn't support postgresql functions " for example : pg_connect() " i think pgsql and pdo_pgsql must be installed with php ...
i added the codes below after --with-pdo-mysql=mysqlnd \ line
--with-pgsql=pgsql \
and
--with-pdo-pgsql=pdo_pgsql \
lines to both files :
/usr/local/directadmin/custombuild/configure/suphp/configure.php53
/usr/local/directadmin/custombuild/configure/ap2/configure.php53
-----------------------------------------------
but when recompiling my php which I write this code
Code:
./build php n
it gives me error messages that
checking for pg_config... not found
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
how can i fix this error ?
thanks in advance
i have directadmin installed on centos 6
i want to connect to a postgresql-server via php which is on another server.
the version of my installed php is 5.3 (with mod_suphp).
The Problem is that version of my php doesn't support postgresql functions " for example : pg_connect() " i think pgsql and pdo_pgsql must be installed with php ...
i added the codes below after --with-pdo-mysql=mysqlnd \ line
--with-pgsql=pgsql \
and
--with-pdo-pgsql=pdo_pgsql \
lines to both files :
/usr/local/directadmin/custombuild/configure/suphp/configure.php53
/usr/local/directadmin/custombuild/configure/ap2/configure.php53
-----------------------------------------------
but when recompiling my php which I write this code
Code:
./build php n
it gives me error messages that
checking for pg_config... not found
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
how can i fix this error ?
thanks in advance