Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (46 sloc) 1.79 KB
===========================================================================
$NetBSD: MESSAGE,v 1.4 2012/05/04 01:15:54 ryoon Exp $
To use concrete5 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, concrete5
$ mysql -u root -p
Enter password: YOUR_MYSQL_ROOT_PASSWORD
> create user concrete5 identified by 'concrete5_user_password';
> quit
6. Create database for concrete5
$ 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. Start Apache httpd 2.2
# ${RCD_SCRIPTS_DIR}/apache start
10. Access http://localhost/index.php
And setup with the following information.
database name: concrete5_db
user name: concrete5
password: concrete5_password
===========================================================================
Jump to Line
Something went wrong with that request. Please try again.