網路城邦
上一篇 回創作列表 下一篇  字體:
夏肇毅運算網- 在Resin Quercus上安裝WordPress
2015/02/27 23:20:50瀏覽269|回應0|推薦4

[夏肇毅部落格  夏肇毅運算網 Mark Hsia Computing Web]

簡單的步驟教你在Resin Quercus上安裝WordPress:

Quercus Overview and Getting Started Guide

Running an existing PHP application on Quercus

In general, getting an application to run on Quercus is straightforward. To demonstrate this simple process, let's install WordPress.

Step 1. Create the ${resin.root}/webapps/wordpress directory. That will be the base directory for the wordpress installation. It will correspond to a url like http://localhost:8080/wordpress/. Extract the wordpress files in that directory.

Step 2. Create the ${resin.root}/webapps/wordpress/WEB-INF directory, and add the resin-web.xml file below into that directory. The resin-web.xml file configures QuercusServlet, the Java servlet that interfaces to Quercus, to parse .php files. Since WordPress uses special ISO-8859-1 characters in their PHP scripts, the script encoding is changed from the default UTF-8 to ISO-8859-1. If you need to set ini values, see php.ini.

/E:/Resin/webapps/wordpress/WEB-INF/resin-web.xml
   iso-8859-1   

Step 3. If you have not already done so, download the MySQL Connector/J JDBC driver into ${resin.root}/lib to enable mysql database functions (See Using Databases).

mysql-connector-java-gpl-5.1.34.msi  會安裝mysql-connector-java-5.1.24-bin.jar

到 C:\Program Files\MySQL\Connector J 5.1.24

Step 4. The configuration for Resin/Quercus is now complete. Now you'll need to go through the application's installation routine. For Wordpress, go to http://localhost:8080/wordpress/wp-admin/setup-config.php to start the installation.

( 知識學習隨堂筆記 )
回應 推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=markhsia&aid=21173323