Quercus: PHProjekt

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(web.xml)
 
Line 23: Line 23:
 
       <jndi-name>jdbc/mysql</jndi-name>
 
       <jndi-name>jdbc/mysql</jndi-name>
 
       <driver>
 
       <driver>
         <type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</type>
+
         <type>
 +
          com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
 +
        </type>
 
         <url>jdbc:mysql://localhost:3306</url>
 
         <url>jdbc:mysql://localhost:3306</url>
 
     </driver>
 
     </driver>

Latest revision as of 17:55, 29 August 2006


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.

Personal tools