Quercus: PHP-Nuke
From Resin 3.0
(Difference between revisions)
(→Step 3: Download PHP-Nuke) |
(→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:54, 29 August 2006
Contents |
[edit] 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.
[edit] Steps
[edit] 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.
[edit] Step 2: Copy over web.xml
Copy web.xml
into the webapps/ROOT/WEB-INF/
directory of your resin home directory.
[edit] 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>
[edit] 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.