blob: de4dfa244cda069d2666b354366309b52489b353 (
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.5 2022/04/30 02:28:40 wen Exp $
To use OrangeHRM, you will need to perform the following steps.
1. To use MySQL server, install databases/mysql57-server and enable it.
# ${RCD_SCRIPTS_DIR}/mysqld start
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
DocumentRoot "${PREFIX}/share/orangehrm"
LoadModule php7_module lib/httpd/mod_php7.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=iconv.so
extension=json.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 .
===========================================================================
|