quercus: hello, world installation
The Hello, World tutorial covers the basic steps to start Resin and run a trivial php script in Quercus.
This short article is intended for PHP programers who are interested in trying Caucho's PHP implementation. The download and unzipping instructions are intended for windows users. However, the implementation will work just as well in UNIX. Downloading and unzipping Resin
Running Resin for the first time
<web-app xmlns="http://caucho.com/ns/resin"> <servlet-mapping url-pattern="*.php" servlet-class="com.caucho.quercus.servlet.QuercusServlet"> </servlet-mapping> </web-app> <?php echo "Hello World"; ?> If all went well with the above steps, you have installed Resin correctly. Congratulations! You can now create your own PHP pages and store them in the same directory as the hello-world.php file.
|