Tag: CentOS6/PHP

目次

関連ページ

参考情報

インストール

PHP5.6のインストール

参考情報

リポジトリの準備

インストール

まず現在のバージョンの確認と削除。

rpm -qa | grep php
yum remove php-*

インストールする。yum-prioritiesを使用している場合「disableplugin=priorites」を指定しないとだめかも(もしくはremiの優先度を上げておくか)。

yum install --disableplugin=priorities --enablerepo=remi,remi-php56 php php-devel php-mbstring php-pdo php-gd php-xml php-mcrypt

設定

/etc/php.iniのmbstringを変更。

[mbstring]
mbstring.language = Japanese
mbstring.internal_encoding = UTF-8
;mbstring.http_input = auto
mbstring.http_input = UTF-8
mbstring.http_output = UTF-8
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = none
mbstring.func_overload = 0

yum updateでエラー


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-04-11 (月) 15:28:10