[BACK]Return to MESSAGE CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / php-basercms

File: [cvs.NetBSD.org] / pkgsrc / www / php-basercms / MESSAGE (download)

Revision 1.3, Mon Jan 1 10:23:09 2018 UTC (5 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, HEAD
Changes since 1.2: +2 -2 lines

apache22: remove, it was eol'd in June 2017

Remove packages that only work with apache22.
Remove apache22 references.

$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

4. Be sure to have the following lines in ${PREFIX}/etc/php.ini.


	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.