Quercus: PHP-Nuke

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(Step 3: Download PHP-Nuke)
Line 30: Line 30:
 
</code>
 
</code>
  
==Step 3: Download PHP-Nuke==
+
==Step 3: Install PHP-Nuke==
Download PHP-Nuke and follow PHP-Nuke's installation steps.
+
Download PHP-Nuke into the <code>webapps/ROOT/</code> directory of your resin home directory and follow PHP-Nuke's installation steps.

Revision as of 17:53, 29 August 2006


Contents

PHP-Nuke running on Quercus

This page details the steps required to get PHP-Nuke 7.8 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 PHP-Nuke

Download PHP-Nuke into the webapps/ROOT/ directory of your resin home directory and follow PHP-Nuke's installation steps.

Personal tools