pkgsrc/www/php-basercms/MESSAGE
wiz 67ea766c4c apache22: remove, it was eol'd in June 2017
Remove packages that only work with apache22.
Remove apache22 references.
2018-01-01 10:23:04 +00:00

42 lines
1.4 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.3 2018/01/01 10:23:09 wiz 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/apache24 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.
===========================================================================