Skip to content


php/pear実行時に「指定されたモジュールが見つかりません。」

このエントリーをはてなブックマークに追加
はてなブックマーク - php/pear実行時に「指定されたモジュールが見つかりません。」
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Bookmark this on Livedoor Clip
Share on FriendFeed
Share on GREE

pear実行時に以下のワーニングが出た。
–ここから
PHP Warning: PHP Startup: Unable to load dynamic library ‘./php_mysql.dll’ – 指定されたモジュールが見つかりません。
in Unknown on line 0
–ここまで
ライブラリが見つからないというワーニング。
ライブラリを探しにいくディレクトリはphp.iniで設定されているが、デフォルトでは以下のようになっている。
–ここから
; Directory in which the loadable extensions (modules) reside.
extension_dir = “./”
–ここまで
でも実際のところextディレクトリ配下にライブラリがあるので、extension_dirを以下のように変更しなければならない。
–ここから
; Directory in which the loadable extensions (modules) reside.
extension_dir = “./ext”
–ここまで
これでワーニングはでなくなった。
■参考

http://www.phpbook.jp/install/phpini/index1.html

関連するかもしれない記事



他のブログも読む

Posted in PHP.

Tagged with , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

*