I used wamp the other day to install a quick devel environment on a laptop. I just needed something in order to do some real basic php pages (really just includes and switchs) and wamp had me up and running in literally 5 minutes.
However, if you've never set up an apache/php server you really should do it. Its not difficult at all and it gives you a bit more insight into things.
簡易チュートリアル
目次
ここで、PHP の基礎の基礎について簡単なチュートリアルで説明したいと思います。 PHP は Web ページを作成する機能だけを有しているわけではありませんが、 ここでは PHP で動的な Web ページを作成することのみを扱います。詳細は、 PHP でできること と題するセクションを参照してください。
PHP を使用できる Web ページは、通常の HTML ページと全く同様に扱われ、 通常の HTML ページを作成するのと同様の方法で編集することができます。
必要なものは?
本チュートリアルでは、使用するサーバで PHP が使用可能であり、 .php で終わる全てのファイルが PHP で処理されることを仮定します。多くのサーバでは、PHP ファイルに関してこれがデフォルトの拡張子ですが、 確実なのはサーバの管理者にきいてみることです。サーバが PHP をサポートする場合、何もする必要はありません。 .php ファイルを 作成して Web ディレクトリに置くだけで、 サーバがこれを自動的にパースしてくれます。 何もコンパイルする必要はなく、他のツールをインストールする必要もありません。 PHP のファイルは、あなたが行なう全ての処理を実装した特殊なタグを通常の HTML ファイルに追加したものと考えると良いでしょう。 ほとんどの Web ホストは PHP サポートを提供していますが、 使用しているホストがサポートしていない場合、 » PHP リンク集のセクションで PHP が利用可能な Web ホストを探すためのリソースを読んでみてください。
ここでは、貴重なネットワーク帯域を節約するために、 ローカルに開発を行うことにしましょう。この場合、 » Apache のような Web サーバと、 当然、» PHP をインストールすることになります。また、多くの場合には、 » MySQL のようなデータベースもインストールすることになるでしょう。
これらは個別にインストールすることもできますし、 より簡単な方法でインストールすることも可能です。 このマニュアルには、 PHP のインストール手順 (Web サーバが設定済みであると仮定しています) があります。 PHP 自体をインストールする際に問題が発生した場合、 » インストールに関する メーリングリストで質問することをお薦めします。 より簡単にインストールを行いたい場合には、 使用するオペレーティングシステム用の » 設定済みのパッケージ を利用することもできます。これにより、 数回のマウスクリックで自動的にこれらをインストールすることができます。 MacOSX、Linux や Windows を含む、あらゆるオペレーティングシステムにおいて Web サーバで PHP を使用できるように設定することは簡単です。 Linux の場合、RPM の場所を知るために » rpmfind と » PBone が有用でしょう。 Debian 用パッケージをみつけるには、» apt-get にアクセスするとよいでしょう。
簡易チュートリアル
27-Feb-2008 05:14
14-Feb-2008 02:38
Other tutorials are available to begin learning about PHP and mySQL databases. I found http://www.allsyntax.com quite useful to continue to learn about some practical examples that would applicable to my interest in web development using PHP and mySQL.
07-Feb-2008 12:34
I used apache2triad, the same as wamp, but they have cool control panel..
29-Jan-2008 07:52
I would like to tell you guys about WAMP. WAMP contains Apache, MySQL, and PHP for Windows. It also contains phpmyadmin for managing MySQL and has a button in the task manager. You can use this button for easy admin of PHP and Apache. You click the buttons and it appens the php.ini acordingly. Just google WAMP Server or go to http://wampserver.com/en/
07-Apr-2007 09:54
On the note of fast and easy developer setup's, Xampp is of particular note. If you're interested, just Google 'Xampp' ... It is a product from the Apache Friends group and includes the Apache web server, PHP and Perl along with some other interesting modules, Filezilla ftp server and MySQL. All within one installer, making it a very usefull and broad developers or learners platform.
02-Mar-2007 06:54
Agreed. Some of the pre-configured packs and associated tutorials really can simplify the installation and get you up and running in minutes but you MUST make sure that as an absolute minimum you add a secure password - ideally a mix of letters, numbers, not a real word etc. Otherwise, when your site/system is live, it will be potentially open to abuse.
26-Oct-2006 03:53
just keep in mind that these installation packages are for development use, and are not built for a production enviroment, the preformance and security of these tools is not setup for use in a public website.