MacPortsのアップデートでphpエラー

MacPortsのアップデートしたらphpでエラーがでるようになった。

PHP Startup: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/gd.so'

ということで調査開始。

php -ini

でiniファイルを探すと

/opt/local/var/db/php54/gd.ini

ができてた(元から??)ので開いてみると

extension=gd.so

とエラー部分の呼出しがあったので

;extension=gd.so

とコメントしたらエラーが消えた。

ただ、MacPortsが自動で更新するファイルだから
さわっちゃダメよ、と書いてあったファイルなので
また上書きされてしまうんだと思う。

とりあえず、の処置ということで。

You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

コメントを残す

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

CAPTCHA