System Requirements

The application has a few system(software and hardware) requirements. All the listed requirements are mandatory, so you will need to make sure your server meets the following requirements before you start the installation process. Rather let us take the headache and do the installation for you. By this time you go and grab a cup of coffee, play with your pet or spend some quality time with your family.

Server

  •  You can install Inta-Hrm on every server almost. there is no issue. recommended to use a VPN server for better performance
  • Your server needs to have a static IP if you want to connect zkteco devices from the remote server. If you use localhost you don’t need a static IP but also you could not use App from localhost. 

PHP & Extensions

  • PHP version >= 7.4 < or <= 8.1
  • OpenSSL
  • MySQLi
  • sqlite3
  • PDO_sqlite
  • PDO
  • SQLite
  • Mbstring
  • Tokenizer
  • XML
  • Ctype
  • JSON
  • cURL
  • Fileinfo
  • ZipArchive
  • exif
  • GD
  • sockets

Apache

  • Be sure to enable the mod_rewrite module so the .htaccess file will be honored by the server.
  • If you’re using a shared hosting be sure the symlink() function is enabled on our server. Some shared servers disable this function.

Nginx (Only if you are using Nginx server) 

  • Set the proxy_read_timeout 150; and fastcgi_read_timeout 150; to nginx config

MySQL

  • MySQL 5.7+ or MariaDB 10.3.0+ is required.

Help! If you don’t know your MySQL/MariaDB server version, read this article to get help “Find MySQL Server Version” under configuration

Configuration ( php.ini )

post_max_size=512M or more
upload_max_filesize=512M or more
max_execution_time=300 or more
 

Permissions

After uploading the Inta-Hrm to your server, you may need to configure some permissions. Firstly set all your directories permission to 755 and files to 644 to protect your application from common security issues.

But, some directories must be writable by your webserver. So you need to allow your web-server user to have full access to these directories.

So, set permission 775 the below directories:

  • storage
  • storage/logs
  • storage/framework
  • bootstrap/cache
  • vendor



Document Root

When you visit a website, you are accessing a particular folder on a web server. For example, when you visit example.com, the server is pulling up the files at: /home/USERNAME/public_html. The web server only serves the files located in that folder to incoming visitors. The location of that web folder is called the “document root”  and is set by the Apache configuration.

Now you need to configure your server/domain’s document root to the /path/to/your/IntaHrm/public directory of your project. The index.php in public directory serves as the front controller for all HTTP requests entering your application.