LoginSignup
1
0

More than 5 years have passed since last update.

国際化モジュール(intl.so)インストールメモ

Posted at

Zendのi18n配下にあるValidatorを使用したところ、intlモジュールがなくて異常が発生したのでintlモジュールのインストール方法

# yum install icu libicu-devel
# pecl install intl

※一部サーバにはgcc,g++がなくて異常が起きたので以下コマンドでインストール

# yum -y install gcc
# yum -y install gcc-c++ 

/etc/php.d
に以下の内容で
20-intl.ini
ファイルを追加

※20-intl.ini ってファイル名が適切なのかは不明。。

===============================
; Enable intl extension module
extension = intl.so
===============================

apache再起動

# service httpd restart

1
0
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
1
0