pkgsrc/www/php-basercms/MESSAGE
ryoon 85a135f6f3 Update to 3.0.6.1
* Improve MESSAGE.
* Add php-json dependency.

Changelog:
Many bugfixes and improvements.
See lib/Baser/VERSION.txt (written in Japanese).
2014-11-29 12:26:16 +00:00

42 lines
1.4 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.2 2014/11/29 12:26:16 ryoon Exp $
To use baserCMS, you will need to perform the following steps.
1. If you want to use with MySQL server, install databases/mysql55-*
and enable it, then create database.
2. Create database for baserCMS.
# mysql -u root -p
mysql> grant all on *.* to baser@localhost identified by 'baser-password';
mysql> create database basercms character set utf8 ;
mysql> grant all privileges on basercms.* to baser@localhost identified by 'baser-password';
2. Install apache httpd server, for example www/apache22 and www/ap-php.
3. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf
Alias / ${PREFIX}/share/basercms/
<Directory "${PREFIX}/share/basercms">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from All
</Directory>
4. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
extension=gd.so
extension=json.so
extension=mbstring.so
extension=pdo.so ;if you select sqlite or mysql backend.
extension=pdo_mysql.so ;if you select MySQL backend.
extension=pdo_sqlite.so ;if you select sqlite backend.
extension=pdo_pgsql.so ;if you select PostgreSQL backend.
5. Start apache httpd.
6. Access http://localhost/ and setup with userID/password =
baser/baser-password for MySQL database.
===========================================================================