9
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

YosemiteにしたらPHPが動かなくなった。

Posted at

#Yosemiteにバージョンアップしたらphpが動かなくった。

% php -v
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.53.dylib
  Referenced from: /usr/local/bin/php
  Reason: image not found
zsh: trace trap  php -v

brewでインストールしていたので、update,upgrate,reinstall,doctorしても変わらず、わからず。

調べていたら、新しいxcodeのコマンドラインツールをインストールするばいいのではないかとあった。

Command Line Tools(OSX 10.10)for Xcode - Xcode6.1
をダウンロードとインストール

phpを再インストール

%brew reinstall php54

使えた

% php -v 
PHP 5.4.33 (cli) (built: Nov  1 2014 12:00:00)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

OK

9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?