PHP Hello World
From Resin 3.0
(Difference between revisions)
Line 6: | Line 6: | ||
==Part I: Installing Resin== | ==Part I: Installing Resin== | ||
− | + | ===Downloading and UnZipping Resin=== | |
#Navigate to http://www.caucho.com/download | #Navigate to http://www.caucho.com/download | ||
#Download the latest Resin Binary for your computer. For purposes of this demo, I have downloaded the Windows .zip binary. | #Download the latest Resin Binary for your computer. For purposes of this demo, I have downloaded the Windows .zip binary. | ||
Line 12: | Line 12: | ||
#Double click the binary and unzip the file. For purposes of this demo, I have unzipped the file to c:\resin-3.0.15 | #Double click the binary and unzip the file. For purposes of this demo, I have unzipped the file to c:\resin-3.0.15 | ||
− | == | + | ===Running Resin for the first time=== |
#Browse to the root directory where you unzipped the resin download (ie: c:\resin-3.0.15) | #Browse to the root directory where you unzipped the resin download (ie: c:\resin-3.0.15) |
Revision as of 17:33, 14 November 2005
The short article is intended for PHP programers who are interested in trying Resin's implementation.
It is written for users of windows.
Contents |
Part I: Installing Resin
Downloading and UnZipping Resin
- Navigate to http://www.caucho.com/download
- Download the latest Resin Binary for your computer. For purposes of this demo, I have downloaded the Windows .zip binary.
- Save the file to your desktop.
- Double click the binary and unzip the file. For purposes of this demo, I have unzipped the file to c:\resin-3.0.15
Running Resin for the first time
- Browse to the root directory where you unzipped the resin download (ie: c:\resin-3.0.15)
- Double-click httpd.exe. At this point the resin web server should start.
- Open your browser and type in the following URL: http://localhost:8080/ Make sure that the "Resin Default Home Page" appears. If so, you have Resin installed.
1) Click on the following http://www.caucho.com/download/resin-3.0.14.zip link
2) Save the file to your desktop.
Example PHP code
<?php echo "Hello World"; ?>