Warning: Declaration of FeedWordPie_Item::get_id($hash = false) should be compatible with SimplePie_Item::get_id($hash = false, $fn = 'md5') in /home/nekyo/nekyo.wp.xdomain.jp/public_html/wp-content/plugins/feedwordpress/feedwordpie_item.class.php on line 0

Warning: Declaration of FeedWordPress_Parser::parse(&$data, $encoding) should be compatible with SimplePie_Parser::parse(&$data, $encoding, $url = '') in /home/nekyo/nekyo.wp.xdomain.jp/public_html/wp-content/plugins/feedwordpress/feedwordpress_parser.class.php on line 0
php の oracle 接続で OCI.dll が見つからない場合の対処。 | 日々のできごと

php の oracle 接続で OCI.dll が見つからない場合の対処。

php で oracle 接続するので php.ini で extension=php_oci8.dll を有効にして、apache を再起動したところ、

「OCI.dll が見つからないっす」的なエラーメッセージが・・・。

 

対処としては、Oracle Client を インストールして ORACLE_HOME などを設定するのが正攻法だが

手っ取り早く対応するにはOracle Instant Client を使用する。

Instant Clientのダウンロード

インストール手順

  1. 使用プラットフォームに対応したInstant Clientパッケージをダウンロード。
  2. 解凍したディレクトリを “instantclient” とかにリネーム。c: とかに移動して置くと良いかも。
  3. ライブラリ・ローディング・パス を、さっきのディレクトリに指定する。UNIXならLD_LIBRARY_PATH。WindowsならPATH。
  4. xampp 再起動。

これでOK。

ちなみに64bit版を使うとき、CPU が
Pentium や Xenon なら x64版を使う。
Itanium の場合は、64-bit Itanium版を使う。


コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

CAPTCHA