This tutorial will walk you every single step of the way through installing and setting upこのチュートリアルは歩いて1つのステップごとのインストールと設定してからずっと WAMP wamp (Windows, Apache, MySQL & PHP). ( Windowsでは、 Apacheのは、 MySQL & PHP )です。 With WAMP installed, you can run a web server (and things like WordPress, MediaWiki, andおwampインストールすると、ウェブサーバーを実行することができます( WordPressのような、移動、および Jinzora jinzora ) on your Windows PC. )を使用してWindowsパソコンです。
Installing WAMP インストールwamp
Configure WAMP & MySQL wamp & MySQLの構成
Install and setup Fake Sendmail 偽sendmailをインストールし、セットアップ
- To get started, head over to the開始するには、頭をして WAMP download page wampダウンロードページへ and save the .exe to your desktop.を保存して。 exeファイルをデスクトップにします。 Once the download has completed, run the installation file.一度にダウンロードが完了したら、インストールファイルを実行してください。 The first message you’ll see is a warning - if you have an older version of WAMP (1.x) installed, make sure to uninstall it first.の最初のメッセージが表示さは、警告-以前のバージョンのをお持ちの場合w amp( 1 .xの)インストールすると、最初にアンインストールすることを確認してください。 Otherwise click Yes to continue.他の[ はい ]をクリックして続行します。
- Click Next on the initial setup screen. 次へ]をクリックして、最初のセットアップ画面を表示します。
- Review the License Agreement , select I accept the agreement and then click the Next button.日の使用許諾契約書 、 契約書を選択し、同意すると入力し、 [次へ ]ボタンをクリックしてください。
- It’sa good idea to leave the default installation directory alone (C:\wamp\) - but if you want to change it, now’s the time.それはいいアイデアを残しておくだけでデフォルトのインストールディレクトリ( c : \ wamp \ ) -しかし、それを変更する場合は、今すぐしている。 Click Next to continue. [ 次へ ]を続行します。
- Decide if you want to have WAMP Quick Launch and/or Desktop icons, and click Next . wampを決定したいのであればクイック起動および/またはデスクトップのアイコンは、 [ Next ]をクリックします。
- Finally, click Install .最後に、 [ インストール ]をクリックします。
- The installation doesn’t take too long.時間がかかりすぎる、インストールされません。
- Once it has completed, the setup phrase will begin.一度ことが完了すると、セットアップフレーズが開始されます。 If you have Firefox set as your default browser, WAMP will ask you if that’s the browser you want to use. Firefoxの場合は、デフォルトのブラウザとして設定され、 wampていただく必要がしたい場合は、ブラウザを使用するのです。 Click Yes . [ はい ]をクリックします。
- At this point, if you have a software Firewall installed, it will probably pop up and warn you that Apache wants to accept incoming connections.この時点で、ファイアウォールソフトウェアをお持ちの場合はインストールされると、それはおそらく開くと、警告メッセージが表示したいApacheの着信接続を受け付けるようにします。 Depending on your specific Firewall the “button” to click may be different, but it will be something similar to Unblock .に応じて、お客様の特定のファイアウォールの"ボタン"をクリックしてが異なる場合がありますが、それは何かに似てブロックを解除します。 Do not click “Keep Blocking”.をクリックしていない "ブロック"です。
- Leave the SMTP: server set as localhost (more on this later) but do change the email address to yours.休暇は、 SMTP : localhostのサーバーとして設定され(詳細については、このそれ以降のバージョン)しかし、電子メールアドレスを変更することを認識して行う 。 Click Next . [ Next ]をクリックします。
- That’s it - you’re done!それはそれ-これで手順は完了! Make sure that there’sa check in the Launch WampServer 2 now box, and click Finish .あることを確認してチェックして発射するwampserver 2ボックスに入力し、 [ 完了 ]をクリックします。
Configure WAMP & MySQL wamp & MySQLの構成
- In your System Tray you should now see a “WAMP” icon.今すぐには、システムトレイを参照する必要が" wamp "のアイコンです。 Click it, and select Put Online ( Note: if it says Put Offline ignore this step and skip to the next one).それをクリックして、を選択し置くオンライン ( 注:この手順を無視することは言うと、オフラインにスキップするには次の1つ) 。
- Open your browser (if it isn’t already) and enter the URLお使いのブラウザを開きます(されていない場合)とURLを入力して http://localhost http://localhostの .です。
- The WAMP configuration page will load. wamp構成のページがロードされます。 From here you can access the tools phpMyAdmin, sqlitemanager etc.ここからすることができます。 phpMyAdminのツールにアクセスする、等のsqlitemanager
- Now you’ll want to set a MySQL password, because by default, WAMP doesn’t set one.今すぐにMySQLのパスワードを設定するにしたくなるため、デフォルトでは、 1つのwamp設定されない。 Select phpMyAdmin from the WAMP configuration page. wamp phpMyAdminの設定ページから選択します。 At the bottom of the phpMyAdmin screen you’ll see a message about MySQL running without a root password. phpMyAdminの画面の下部に表示するメッセージが表示さ約MySQLの実行中に、 rootのパスワードを入力します。
- To correct this, select the Privileges link.を訂正するには、 権限を選択してリンクをクリックします。 In the User overview section, place a check in the box next to Root - Localhost (see image below) and then click the Edit Privileges button.は、 ユーザーの概要セクションでは、開催地の横にあるチェックボックスをオンにルート-l ocalhostの(画像参照)と入力し、権限をクリックして編集ボタンをクリックします。
- Scroll down to the Change password section, and enter your password in both boxes.下にスクロールして、 [パスワードの変更]セクションでは、との両方のパスワードを入力してください。ボックスをオンにします。 Click Go to save the change.変更を保存して[ Go ]をクリックします。
- Make sure you get a message saying The password for 'root'@'localhost' was changed successfully .必ずと言って、あなたのパスワードを取得するメッセージが表示さ'ルート' @ ' localhost 'のが変更されました 。
- Minimize your browser window, and open up Windows Explorer (or whatever file manager you use in Windows).お使いのブラウザのウィンドウを最小化し、エクスプローラを開く(またはWindowsでどんなファイルマネージャを使用する) 。 Navigate to the C:\wamp\apps\phpmyadminx.xx\ folder.ナビゲートをC : \ wamp \アプリ\ phpmyadminx.xx \フォルダにコピーします。 Inside that folder, open up config.inc.php - ideally in an HTML or PHP editor, but Notepad will do if you don’t have an html/php/code editor.インサイド、そのフォルダ内のconfig.inc.phpを開く-理想的には、 H TMLやP HPのエディタで、しかし、メモ帳をお持ちでない場合はH TMLのまた/ p hp/コードエディタを起動します。
- Search for the line $cfg['blowfish_secret'] = ''; - if you’re using notepad it might be easier to just search for the word blowfish検索の行$北京長富[ ' blowfish_secret ' ] = '' ; -メモ帳を使っている場合だけかもしれないという言葉で検索を簡単にフグ
- Change the line $cfg['blowfish_secret'] = ''; to $cfg['blowfish_secret'] = 'mypassphrase'; - where mypassphrase is your own password - not the same one you specified for root in MySQL.の行を変更します$北京長富[ ' blowfish_secret ' ] = '' ;を$北京長富[ ' blowfish_secret ' ] = ' mypassphrase ' ; -どこm ypassphraseは 、自分のパスワードを変更する-は、 同じMy SQLの1つのルートを指定します。

Note: as you can see from the screenshots above and below, this is much easier to work with in an HTML/PHP editor than it is in Notepad. 注:上記のスクリーンショットを参照することができます。以下、これは格段に容易に仕事をされたHTML / phpのエディタをメモ帳に比べては。
- Now search for the phrase ['auth_type'] = 'config'; (again, if you’re using Notepad you might want to just search for auth_type ).今すぐ検索フレーズ[ ' auth_type ' ] = ' config 'を、 (再び、メモ帳を使っている場合だけを検索したいかもしれませんauth_type ) 。
- Change config to cookie . クッキーの設定を変更します。
- Almost done.ほぼ完了です。 Now search for $cfg['Servers'][$i]['password'] = ''; Replace the = ''; with = 'your-mysql-password'; - where your-mysql-password is the MySQL password you specified back in step #6 of this section.今すぐ検索$北京長富[ 'サーバー' ] [ $私] [ 'パスワード' ] = '' ;交換して= '' ;お= 'あなた- MySQLのパスワード' ; -どこ- m ysqlをしてパスワードは 、 M ySQLのパスワード# 6指定は、次のステップに戻って参照してください。
- Save the changes you’ve made and exit out of your editor.あなたが加えた変更を保存して終了するとしてエディタを終了します。 Click on the WAMP icon in your System Tray and select Restart All Services . wampをクリックしてお客様のシステムトレイにアイコンが表示さを選択し、すべてのサービスを再起動します。
- Bring up your browser again, and refreshお使いのブラウザを再度立ち上げ、およびリフレッシュ http://localhost http://localhostの .です。 Select phpmyadmin again. phpMyAdminのを選択してください。
- This time you’ll be prompted to login.この時間にログインするように指示します。 Use root as the Username and enter the password you specified in step #6 as the password. Ignore the error about mcrytp not being loaded - we’ll fix that in a minute. ルートとして使用するユーザー名とパスワードを入力し、ステップ# 6として指定されたパスワードを入力します。 mcrytpについては無視してエラーが発生しない読み込まれている-をご用意して数分です。
- Return to the Privileges section, and this time place a check next to the user root with the host 127.0.0.1 (see screenshot below) and click the Edit Privileges button.戻るには、 権限のセクションでは、この時間の横にあるチェックボックスをルートアカウントで、ユーザのホスト127.0.0.1 (スクリーンショットを参照してください)をクリックし、 [ 編集権限ボタンをクリックします。
- Set the password to the same one you used for root previously (step #6) and click Go . 1つのパスワードを設定して、同じルートを使用され、以前は次の(ステップ# 6 ) 、 [ Go ]をクリックします。 Confirm the password was updated.確認してパスワードが更新されました。
- Now select the user root in the production.mysql.com host section, and once again click the Edit Privileges button.今すぐproduction.mysql.comを選択してユーザーのルートは、ホストセクションでは、と再び権限をクリックして編集ボタンをクリックします。
- Again set the password to the same one you’ve previously used for root.再び同じパスワードを設定するにしたら、以前は次のに使用される1つのルートに移動します。
- And make sure it updates successfully.ことを確認して更新プログラムを正常に終了します。
- Click the WAMP icon in your System Tray, choose PHP from the menu, then PHP extensions , scroll down to php_mcrypt and select it.をクリックしてお客様のシステムトレイにアイコンが表示さwamp 、 PHPのメニューから選択し、次にPHPの拡張子は、下にスクロールしてphp_mcryptを選択してください。
- Refresh phpMyAdmin in your browser, and this time you’ll be prompted to login, but without the mcrypt error.お使いのブラウザでphpMyAdminを更新し、この時間にログインするように指示がなく 、 mcryptのエラーが発生します。
- You’ve now set a password for MySQL, making it considerably more secure.今すぐにパスワードを設定したらMySQLでは、他のことがかなり安全です。













Install and setup Fake Sendmail 偽sendmailをインストールし、セットアップ
- If you’re running Windows XP, 2000 or NT and have an outgoing (SMTP) mail server already installed on your PC, and can be accessed by localhost, you can skip all the steps in this section - your’e done! Windows XPで実行されている場合は、 2000またはNTしていて、送信( SMTP )メールサーバー、パソコンに既にインストールされ、ローカルホストにアクセスできることを、スキップすることができますこのセクションのすべての手順を実行する-y our'eやった! If you’re using Vista (or don’t have a mail server installed) - keep reading.を使用する場合はビスタ(かどうかは、メールサーバーのインストール) -保つ読書です。
- Because a number of services you may use require a working mail server, we’ll set up Fake Sendmail and use your ISPs outgoing mail server.数多くのサービスのために使用することがあります作業を必要とするメールサーバー、今後もお客様の偽sendmailとセットアップするISPの送信用メールサーバを使用しています。 An example of a service that requires working mail is WordPress - if you forget your password and want to reset it, WordPress will email it to you.の例としては、サービスを必要と作業にメールがWordPressの-を忘れた場合はパスワードを入力し、選択をリセットして、 W ordPressのは、電子メールさせていただきます。 Without Fake Sendmail (or a local SMTP server) every time a service tries to send an email, it will fail.なし偽sendmail (あるいは、ローカルSMTPサーバー)サービスをしようとするたびに、メールを送信するに、それは失敗します。
- Head over to頭以上に http://glob.com.au/sendmail/ and download sendmail.zip . sendmail.zipをダウンロードします。 If your ISP requires that you use SSL, make sure to download sendmail-SSL.zip as well.もしSSLを使用する必要がISPから、 sendmailを- ssl.zipをダウンロードしていることを確認されます。 Create the folder(s) C:\usr\lib\ and extract sendmail.zip (and sendmail-SSL.zip if you need it) into that folder.フォルダの作成(劇団) c : \ usr \ lib \ディレクトリと抽出sendmail.zip (およびそれにSendmail ssl.zipする必要がある場合)をそのフォルダにコピーします。
- Open up sendmail.ini in Notepad. sendmail.iniをメモ帳で開く。 Scroll down to the smtp_server= section and change it to smtp_server=your.smtp.server , where your.smtp.server is your ISPs outgoing mail (SMTP) server.下にスクロールして、 smtp_server =セクションとsmtp_server = your.smtp.serverに変更することを、ここでyour.smtp.serverはあなたのISPの送信メール( SMTP )サーバーです。 If you’re unsure of your outgoing mail server, you canご不明な場合は、送信メールサーバー、することができます。 try this list of ISP mail servers ISPのメールサーバーのリストをお試しください - if yours isn’t listed there, check w/ your ISP. -もしあなたがリストにない場合は、チェックワット/ I SPからです。 In the smtp_port= section, make sure it’s set to 25 - assuming your ISP uses port 25 for SMTP (not all do - though mine does).は、 smtp_port =セクションでは、設定することを確認しての25 -と仮定して、ポート2 5を使用してのI SPのS MTP(特定のすべての行う-かかわらず鉱山が) 。
- In the default_domain= section, add your ISPs domain.は、 default_domain =セクションでは、 ISPのドメインを追加しています。 For example, if you use Comcast as your ISP, add comcast.net .たとえば、コムキャストを使用する場合は、 ISPとして、追加comcast.netです。 Because I have service from Telus, my default domain is telus.net (as seen in the screenshot below). Telus社のサービスからのため、私は、私のデフォルトのドメインはtelus.net (に見られるようにし、スクリーンショットを参照) 。
- If your SMTP server requires authentication, add your username to the end of the auth_username= field, and your password to the auth_password= field. SMTPサーバーで認証が必要な場合は、ユーザー名の最後に追加して、 auth_username =フィールド、およびお客様のパスワードをauth_password =フィールドに入力します。
Note: you can use the Gmail SMTP server (see 注: GmailのSMTPサーバーを使用することができます(参照 this FAQこのよくある質問 for details) - assuming you have a Gmail account.を参照してください) -と仮定するには、 G mailアカウントです。 However, during testing I noticed a considerable delay in receiving mail - up to 7 hours.しかし、かなりのテスト中に気付いたのメールの受信が遅延する-最大7時間です。 Using my ISPs mail server settings there was no delay at all.私のISPのメールサーバーを使用して設定をすべての遅延はなかった。
- Save your changes to the file (sendmail.ini) and exit Notepad.変更を保存して、ファイル( sendmail.ini )とメモ帳を終了します。 Now click the WAMP icon in your System Tray, select PHP and then click php.ini .今すぐクリックしてお客様のシステムトレイにアイコンが表示さwamp 、 PHPの選択をクリックし、 [ php.iniのです。
- Scroll down to the [ mail function ] section.下にスクロールして、 [メール機能]セクションです。 Comment out each of the For Win 32 lines by adding a semicolon ( ; ) in front of each one (see screenshot below). Uncomment the line sendmail_path = by removing the semicolon ( ; ) in front of it. 勝つのをコメントアウトし、各32行を追加することによってセミコロン( ; )の前に各1つ(スクリーンショットを参照してください) 。 sendmail_path =を取り外すことによって行のコメントを外して、セミコロン( ; )の前にしてください。 Add "/usr/lib/sendmail.exe -t" to the end of the line, so that it reads: sendmail_path = "/usr/lib/sendmail.exe -t" (again, see the screenshot below).カート"は/ usr / lib / sendmail.exe - T "をし、その行の最後に、そのための読み取り: sendmail_path = " / usr / lib /にsendmail.exe - T "を (再び、スクリーンショットを参照してください) 。
- Save php.ini and exit out of Notepad (or whatever editor you used to edit php.ini).割引率php.iniと、メモ帳を終了する(または何のphp.iniを編集するエディタを使用) 。 Click on the WAMP icon in your System Tray and select Restart All Services . wampをクリックしてお客様のシステムトレイにアイコンが表示さを選択し、すべてのサービスを再起動します。
- Now any time one of your web services needs to send an email…今すぐいつでもお客様のウェブサービスの1つに電子メールを送信する必要が…
- it will go through!を経ることは!
- That’s it - you’re done!それはそれ-これで手順は完了! You now have a fully functional Apache, MySQL and PHP system on your PC.あなたはすでに、完全に機能するApacheのは、 MySQLとPHPのシステムをパソコンで。














































{ 0 comments… ( 0コメント… add one now今すぐ追加する } )
Leave a Commentコメントを残す