summaryrefslogtreecommitdiff
path: root/misc/php-orangehrm/MESSAGE
blob: 6152458a6b88e0a6841611edd5af703527863c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
===========================================================================
$NetBSD: MESSAGE,v 1.2 2012/05/11 10:41:26 ryoon Exp $

To use OrangeHRM, you will need to perform the following steps.

1. To use MySQL server, install databases/mysql51-server and enable it.

	# ${RCD_SCRIPTS_DIR}/mysqld start

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

	DocumentRoot "${PREFIX}/share/orangehrm"
	LoadModule php5_module lib/httpd/mod_php5.so
	AddType application/x-httpd-php .php
	<Directory ${PREFIX}/share/orangehrm>
		Options All
		Allow from All
		AllowOverride All
	</Directory>

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

	extension=mysql.so
	extension=mysqli.so
	extension=pdo.so
	extension=pdo_mysql.so

5. Start apache httpd.

	# ${RCD_SCRIPTS_DIR}/apache start

6. Access http://localhost/index.php and setup.
   In detail, please read http://localhost/INSTALL.html .
===========================================================================