[ ホーム | 一覧 | 検索 | 最終更新 | ヘルプ ] [ 新規 ]

KAWANO's PukiWiki Plus! - Install Log/VineLinux4.1/apache_and_php の変更点

Top > Install Log > VineLinux4.1 > apache_and_php
AND OR
  • 追加された行はこの色です。
  • 削除された行はこの色です。
  • Install Log/VineLinux4.1/apache_and_php へ行く。

TITLE:ApacheとPHPの設定

*Apacheの設定 [#f1fa523f]
Vine 4.1でのApacheは、デフォルトで Apache2 (2.0)。
設定内容自体は、以前の設定をほぼコピーでOK。
というわけで、細かい設定の説明は省略。

**作業の流れ [#c27223e4]
+Apacheとmod_sslの設定
 # <お好きなエディタ> /etc/apache2/conf/httpd.conf
 # <お好きなエディタ> /etc/apache2/conf.d/ssl.conf
+秘密鍵と公開鍵の作成(前のをコピー)
+設定ファイルをチェックし、動作確認(1.3と2.0の起動-停止を繰り返す) 
 # apache2ctrl
 # service apache2 start
+サービス開始の設定 
 # chkconfig apache2 on

*PHPの設定 [#m12458ab]
Vine 4.1では、PHP4とPHP5を選択することができるが、
すでにPHP5を利用していたため、PHP5をインストール。
設定も、以前の情報をそのままコピーでOK。

**作業の流れ [#u9fecdb6]
+PHPの設定ファイルを編集
 # vim /etc/php5/php.ini
+Moodle用に、次の設定を追加
 session.bug_compat_warn = 0
 upload_max_filesize = 10M
 mbstring.encoding_translation = Off
+エラーレベルの設定を追加
 ; Debug
 error_reporting  =  E_ALL & ~E_NOTICE
+設定を有効にするため、Apacheを再起動
 # service apache2 restart 

***設定内容 [#td551033]
pre{{
#pre{{
[Vine]
output_buffering = Off
expose_php = Off
memory_limit = 32M
variables_order = "GPCS"
default_charset = EUC-JP
extension_dir = /usr/lib/php5
allow_url_include = Off
sendmail_path = /usr/sbin/sendmail -t -i
session.save_path = "/var/php5/session"
session.use_only_cookies = On
session.use_strict_mode = On
session.entropy_file = /dev/urandom
session.entropy_length = 32
session.hash_function = 1
mbstring.language = Japanese
mbstring.internal_encoding = EUC-JP
mbstring.http_input = auto
mbstring.http_output = pass
mbstring.encoding_translation = On

; for Moodle
; 2007/03/01
session.bug_compat_warn = 0
upload_max_filesize = 10M
;output_buffering = On
;output_handler = mb_output_handler
;mbstring.http_output = SJIS
;mbstring.detect_order = auto
;mbstring.substitute_character = none;
;
mbstring.encoding_translation = Off
}}

**参考リンク [#p7c545b9]
-http://vine.1-max.net/

メニュー

  • トップ
  • 授業
  • PukiWiki Log
  • Install Log
  • 道具箱
  • セキュリティ情報
  • RSSアンテナ

大学関係リンク

  • Webメール
  • 健康システム学科
  • 情報メディアセンター
  • 兵庫大学

今日の5件
  • FrontPage(318)
  • Lecture/JouhouC2008/9th/exercise1(4)
  • Lecture/JouhouC2004(3)
  • Lecture/CompPracC2005(2)
  • Lecture/InfoPrac2004/2nd/1st(2)
最新の5件
2016-04-08
  • Lecture/timetable_2016
  • Lecture
  • FrontPage
2015-09-30
  • Lecture/timetable_2015
2015-04-04
  • MenuBar

total: 4106
today: 1
yesterday: 0
now: 7


リロード   差分   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
http%3A%2F%2Fhs-www.hyogo-dai.ac.jp%2F~kawano%2F%3FInstall%252520Log%25252FVineLinux4.1%25252Fapache_and_php
Founded by Minoru Kawano.
Powered by PukiWiki Plus! 1.4.7plus-u2-i18n. HTML convert time to 0.189 sec.
Valid XHTML 1.1