pkgsrc/www/php-concrete5/MESSAGE
ryoon 4adedc0fec Import php*-concrete5-5.4.2.2 as www/php-concrete5
Concrete5 is a content management system (CMS) that can manage Web
applications, Web sites, stores, and forums. It allows individuals
involved with Web sites to easily manage their content and their
site structure. Concrete5's in-context editing is like working with
a wiki, and the extendable block support makes editing and extending
unique Web sites easy. The goal behind Concrete5 was always to
create a toolset that could be used by anyone with basic computer
skills to edit and add pages to a Web site.
2011-12-14 20:51:49 +00:00

62 lines
1.7 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/12/14 20:51:50 ryoon Exp $
To use tiki with Apache 2.2, you will need to perform the following steps.
1. Install www/apache22 and www/ap-php
2. Setup PHP. At least, ${PREFIX}/etc/php.ini should have date.timezone line.
If your machine are located in Tokyo, Japan, you should get the following.
# cat ${PREFIX}/etc/php.ini | grep date.timezone
date.timezone ="Asia/Tokyo"
3. Install MySQL database server.
# cd databases/mysql51-server
# make install
4. Start MySQL server, and setup MySQL server
# ${RCD_SCRIPTS_DIR}/mysqld start
And see messages.
5. Add MySQL user, tiki
$ mysql -u root -p
Enter password: YOUR_MYSQL_ROOT_PASSWORD
> create user concrete5 identified by 'concrete5_user_password';
> quit
6. Create database for tiki
$ mysql -u root -p
Enter password: YOUR_MYSQL_ROOT_PASSWORD
> create database concrete5_db;
> grant SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER
on concrete5_db.* to concrete5@localhost identified by 'concrete5_password';
> quit
7. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
extension=gd.so
extension=mysql.so
extension=iconv.so
8. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf
DocumentRoot "${PREFIX}/share/concrete5"
LoadModule php5_module lib/httpd/mod_php5.so
AddType application/x-httpd-php .php
<Directory ${PREFIX}/share/concrete5>
Options All
Allow from All
</Directory>
9. Access http://localhost/index.php
And setup with the following information.
database name: concrete_db
user name: concrete5
password: concrete5_password
===========================================================================