0
私はキーボードで頭を叩いています... :-(私はphp-odbcをインストールしようとしていますので、WAMPの美しさのように機能するodbc_connect()関数を使うことができますインストールするにはPHP-ODBCドライバのインストール問題
大量の依存ウサギの穴があり、インストールできません... "pdo-5.6"で動作するphp-odbcを手動でインストールする方法がわかりません。
[[email protected] /]# yum install php-odbc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.cat.pdx.edu
* remi-safe: repo1.sea.innoscale.net
Resolving Dependencies
--> Running transaction check
---> Package php-odbc.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.4.16-42.el7 for package: php-odbc-5.4.16-42.el7.x86_64
--> Finished Dependency Resolution
Error: Package: php-odbc-5.4.16-42.el7.x86_64 (base)
Requires: php-pdo(x86-64) = 5.4.16-42.el7
Installed: php-pdo-5.6.30-1.el7.remi.x86_64 (@remi-php56)
php-pdo(x86-64) = 5.6.30-1.el7.remi
Available: php-pdo-5.4.16-42.el7.x86_64 (base)
php-pdo(x86-64) = 5.4.16-42.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
イムこれもSentora
注意を使用してCentOSの1611年3月7日(コア)とPHP 5.6.30に:
[[email protected] /]# yum install php-pdo
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.cat.pdx.edu
* remi-safe: repo1.sea.innoscale.net
Package matching php-pdo-5.4.16-42.el7.x86_64 already installed. Checking for update.
Nothing to do
助けてください!
あなたは完全にロック!私はこれを手動でやろうとしていましたが、依存関係をカスケード接続して、必要なバージョンを見つけるのが難しかったです。これは10秒でそれをしました。 – Dyluck