![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / misc / php-orangehrm / MESSAGE (download)
Revision 1.3, Mon Jan 1 10:23:04 2018 UTC (5 years, 9 months ago) by wiz
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:04 wiz 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/apache24 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 . ===========================================================================