ドライバ php postgresql-9.1 のインストールについてお聞きしたいです
エラーメッセージが表示されました:
Fatal error: Call to undefined function pg_connect() in /home/adminku/public_html/index.php on line 2
easyapacheを使用してグーグルでドライバーをインストールしようとすると、ドライバーのインストールで問題が発生し、ディレクトリが見つからないことが示され、
私のウェブマスターからパーティションを発行したため、ディレクトリデータのpostgresqlを別のパスに変更しましたが、彼はpostgresqlについて設定できません
そして、記事http://docs.cpanel.net/twiki/bin/view/EasyApache/Php/ModulePgsqlを見つけました
それは私が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.
- costum ディレクトリでこのモジュールを使用しようとした人はいますか?
- 私のphp.iniでは、dllを使用する拡張機能は、私が知っていた通常のcentOSとは異なります。私の上司は、それはcpanelのデフォルトだと言いましたが、locateでphp_pgsql.dllを検索しようとすると、見つかりません.dllが見つからないからですか?またはディレクトリエンジンが変更されたためですか?