php 開発環境構築- windows 編 -
Post on 27-Jun-2015
2.509 Views
Preview:
TRANSCRIPT
PHP 開発環境構築- Windows 編 -
日本マイクロソフト株式会社デベロッパー & プラットフォーム統括本部エバンジェリスト武田正樹http://blogs.msdn.com/web_/
発行ツール
Windows 上の PHP ローカル開発環境XAMPP と WebMatrix: 2 つの開発環境
サーバー
データベース
ランタイム
エディター
DB 管理ツール
WebMatrixXAMPP 1.7.7
IIS Express 7.5Apache 2.2.21
MySQL 5.1MySQL 5.5.16
PHP 5.3.10PHP 5.3.8
phpMyAdmin 3.4.5
WebMatrix に搭載
WebMatrix に搭載 (MySQL/SQL Server/SQL Azure)
WebMatrix に搭載 (FTP ・ Web 配置 )
Apache と IIS Express の主な用語の比較
Apache mod_rewrite に相当する URL 書き換えモジュールを
搭載
アクセス権の比較 (Linux の “ Owner” に相当 )
IIS Express 7.5 と ApacheApache の方にもわかりやすい
Apache IIS Express
Document Root Web サイト
httpd.conf Applicationhost.config
.htaccess Web.Config
Linux Windows Linux Windows
000 該当なし 100 Read
001 Execute 101 ReadandExecute
010 Write 110 Read, Write
011 Write, Execute 111 Modify
WebMatrix (IIS Express) 用 PHPNon Thread Safe ランタイム
Fast CGI で動作
インストール先: C:\Program Files\IIS Express\PHP\v5.3
Extensions
mysql, mysqli, mbstring, gd2, gettext, curl, exif, xmlrpc,
openssl, soap, pdo_mysql, pdo_sqlite, imap, tidy
sqlsrv: IIS Express 用 SQL Server Driver for PHP 5.3 をインストール
< 参考 >XAMPP の PHP Extentions
php_bz2, mbstring, exif, gd2, gettext, imap, mysql, mysqli, pdo_mysql, pdo_odbc, pdo_sqlite, soap, sockets, sqlite, sqlite3, xmlrpc
MySQL Server LAMP 環境の MySQL との違い
接続には、 MySQL Connector .NET が必要
XAMPP の MySQL に接続できない
“MySQL” サービスが自動開始。ポート : 3306 を使用
XAMPP の MySQL 利用前に、必ずサービスを停止
デフォルトが “ Strict モード”
LAMP 環境に慣れている場合は、 Strict モードの解除推奨
ローカル環境からのデプロイ Linux/Windows Server/Windows Azure へ
Linux サーバー
FTP
FTP & Web 配置
Windows Azure SDK for PHP
PHP の事例 : Windows ServerIIS + PHP + MySQL
EC-CUBE ASP
http://asp.ec-cube.net
PHP の事例 : Windows AzureIIS + PHP + SQL Azure
株式会社スクウェア・エニックス http://www.ff13-2-ie9.com/
株式会社タカラトミーエンタメディアhttp://www.microsoft.com/ja-jp/casestudies/takaratomy.aspx
ご清聴、誠にありがとうございました!
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the
part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Apeendix.
WebMatrix のインストール方法
Web Platform Installer を利用したインストール
WebMatrix と必要なソフトウェアを一括インストール
詳しくは ...
http://msdn.microsoft.com/ja-jp/hh779688
top related