いろいろ試行錯誤

調べものしたときの覚書きや、仕事でコーディングした時のメモ などなど…

IIS5.1+PHP5.2+MySQL5.1でSugarCRM その1

必要なインストーラをダウンロード

MySQLをインストール

  • 圧縮ファイルを任意のフォルダに解凍
  • Setup.exe を起動
    • 「」画面で、Typecalを選択
    • MySQL Server Instance Configuration」画面の「Please select the default character set.」で、Best Support For Multilingualismを選択
    • MySQL Server Instance Configuration」画面の「Please set Windows options.」で、全チェックボックスを選択
    • MySQL Server Instance Configuration」画面の「Please set the security options.」で、Modify Security Settingsを選択して、パスワード“pass”を入力

PHPをインストール

  • インストーラを起動
    • 「Web Server Setup」画面で、IIS接続モジュールを選択
    • 「Choose Items to Install」で、下記の「Extensions」を追加
    • libmcrypt.dllをダウンロードして、C:\PHP\ に保存
  • 初期設定を行う
    • php.ini編集
upload_max_filesize = 20M
SMTP = smtp.*****.co.jp
sendmail_from = *****@*****.co.jp
mbstring.language = Japanese
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = pass
mbstring.detect_order = auto
mbstring.substitute_character = none
default_character = UTF-8
    • IISの設定
      • 「スタート>コントロールパネル>管理ツール>インターネット インフォメーション サービス」を起動
      • 「規定のWebサイト」のプロパティ表示
      • 「ISAPIフィルタ」タブの[追加]を選択

f:id:k_kitaoka:20090410144717p:image

      • 「ホーム ディレクトリ」タブの[構成]を選択
      • 「アプリケーションの構成」画面の「マッピング」タブの[追加]を選択

f:id:k_kitaoka:20090410144718p:image

*1PHPライブラリとバージョンが合わないため使用しない