如何为安装驱动程序php cpanel设置目录路径postgresql
我想询问有关安装php postgresql-9.1驱动程序的问题 我收到错误消息:如何为安装驱动程序php cpanel设置目录路径postgresql,php,postgresql,centos,cpanel,Php,Postgresql,Centos,Cpanel,我想询问有关安装php postgresql-9.1驱动程序的问题 我收到错误消息: Fatal error: Call to undefined function pg_connect() in /home/adminku/public_html/index.php on line 2 当我在谷歌上搜索并试图使用EasyAppache安装驱动程序时,安装驱动程序的问题显示找不到目录 我将目录数据postgresql更改为另一个路径,因为我的网站管理员发布了分区,但他无法设置postgresq
Fatal error: Call to undefined function pg_connect() in /home/adminku/public_html/index.php on line 2
当我在谷歌上搜索并试图使用EasyAppache安装驱动程序时,安装驱动程序的问题显示找不到目录
我将目录数据postgresql更改为另一个路径,因为我的网站管理员发布了分区,但他无法设置postgresql
我找到了一篇文章
这表明我可以制作costum目录:
Notes
EasyApache searches the following locations for the psql binary:
/usr/bin/
/usr/local/bin/
It then runs psql --version to determine the PostgreSQL version on your system.
EasyApache searches the following locations for the pg_config binary:
/usr/local/bin
/usr/bin
If the binary is not found, this module will be skipped.
If you enable this option, --with-pgsql=directory will be added to PHP's configuration options.
您需要使用easyapache编译支持postgreSQL的apache,这将解决您的问题。您需要使用easyapache编译支持postgreSQL的apache,这将解决您的问题