Quercus: PHProjekt
From Resin 3.0
Contents |
PHProjekt running on Quercus
This page details the steps required to get PHProjekt 5.1 up and running on Resin 3.1.0 and newer.
Steps
Step 1: Download MySQL JDBC driver
Download MySQL connector/J at http://www.mysql.com/products/connector/j/ into the lib/
directory of your resin home directory.
Step 2: Copy over web.xml
Copy web.xml
into the webapps/ROOT/WEB-INF/
directory of your resin home directory.
web.xml
<web-app xmlns="http://caucho.com/ns/resin"> <servlet-mapping url-pattern="*.php" servlet-class="com.caucho.quercus.servlet.QuercusServlet"> <init compile="false" script-encoding="iso-8859-1" /> </servlet-mapping> <database> <jndi-name>jdbc/mysql</jndi-name> <driver> <type> com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource </type> <url>jdbc:mysql://localhost:3306</url> </driver> </database> </web-app>
Step 3: Install PHProjekt
Download PHProjekt into the webapps/ROOT
directory of your resin home directory and follow PHProjekt's installation steps.