After installing ProcessMaker, it may be necessary to modify the configuration of Apache, PHP and MySQL in certain situations, which are listed on this page.
To configure Apache, edit its httpd.conf file (or apache2.conf and ports.conf files if using Debian/Ubuntu). The other file to modify is the pmos.conf file, which holds the VirtualHost definition for ProcessMaker. The location of these two files depends upon the operating system:
Red Hat/CentOS:
Debian/Ubuntu/Mint:
Manual installation in Windows:
Bitnami (Linux):
Bitnami (Windows):
Make sure to edit this file, if needing to change one of these PHP settings.
After changing a setting in the httpd.conf or pmos.conf files, restart Apache for the new configuration to go into effect:
Red Hat/CentOS:
Debian:
Ubuntu/Mint:
SuSE/OpenSUSE:
FreeBSD:
Manual installation in Windows:
Open a DOS terminal and issue the following commands to restart the Apache service:
Bitnami Installation in Linux
Enter the following commands as the root user or prepend the sudo command. Change to the directory where the Bitnami stack is installed. For example, on a Linux server:
Then, restart Bitnami's Apache:
Bitnami Installation in Windows
Change to the directory where Bitnami's Apache is installed. For example:
Then, restart Bitnami's Apache:
Note: The net command can also be used:
To check which services are running:
ProcessMaker performance can be improved by using ZIP compression when uploading/downloading pages. Compression should be supported by all modern web browsers. The compression uses Apache's deflate module, which should have been enabled when ProcessMaker was installed.
Note: The deflate module is enabled if the Apache configuration file httpd.conf contains a line like:
In Debian/Ubuntu/Mint, the deflate module can be enabled in Apache with the following command (issued as root or using sudo):
After adding the deflate module, restart apache.
To enable ZIP compression, edit the pmos.conf file (or bitnami.conf if working with a Bitnami installation). Add the following lines to the VirtualHost definition:
Then, restart Apache for the new settings to take effect.
If your organization needs greater security to protect sensitive data being passed between web clients and the ProcessMaker server, it may be a good idea to set up an SSL or TLS connection that can be accessed through the https protocol (rather than the standard http protocol).
Follow the steps in the following tutorials to set up an SSL-secured web server in Red Hat/CentOS, Debian/Ubuntu and Windows. After creating the certificates that will be used by the ProcessMaker server, configure ProcessMaker to use https in Apache.
Edit the file apache-path/pmos.conf (or \Bitnami\processmaker-3.x.b2-0\apache2\conf\bitnami\bitnami.conf if working with a Bitnami installation) and add the following lines to your virtual host configuration:
If using Apache 2.2, then use the following VirtualHost configuration.
Restart the Apache web server so the altered configuration will take effect. Now it is possible to use ProcessMaker over SSL. Log in to ProcessMaker by using the https protocol:
If using Apache 2.4, then use the following VirtualHost configuration.
Restart the Apache web server so the altered configuration will take effect. Now it is possible to use ProcessMaker over SSL. Log in to ProcessMaker by using the https protocol:
To change the configuration of PHP, edit the php.ini file with a plain text editor (such as Notepad in Windows and vim or nano in Linux/UNIX). The location of the php.ini file depends on your operating system:
Red Hat/CentOS:
Debian/Ubuntu/Mint/SuSE/openSUSE:
In Debian/Ubuntu systems with multiple web servers:
FreeBSD:
Manual installation in Windows:
Bitnami (Linux):
Bitnami (Windows):
After changing a setting in the php.ini file, restart Apache for the new PHP configuration to go into effect.
To check whether all the required PHP modules are installed, enter the following command in a terminal:
Linux/UNIX:
Windows:
Navigate to where PHP is installed. For example:
Then, issue the command:
If an error message about a missing MSVCR100.dll file appears when executing the command:

Then, install or update the Microsoft Visual C++ 2010 Redistributable Package for 32 bit or 64 bit.
To check whether all the required PHP modules are loaded from inside ProcessMaker version 2.5.0 and later, log in as a user, such as "admin", who has the PM_SETUPADVANCE permission in his/her role. Then go to ADMIN > Settings > PHP Information and check whether all the required modules are listed.

To upload large Input Documents or attached files while running processes, the post_max_size and upload_max_filesize settings in the php.ini file should be increased to more than the default 2MB. For instance, if planning on uploading files as large as 24MB, then:
After modifying these settings, restart Apache.
Note: If using a Bitnami installation, then also change the upload_max_filesize setting in the apps/processmaker/conf/httpd-app.conf file.
By default, PHP limits the maximum number of uploaded files to 20. If needing to upload a larger number of files in a Dynaform, then increase the size of the max_file_uploads setting in the php.ini file:
After modifying this setting, restart Apache.
The time zone for ProcessMaker can be set under ADMIN > Settings > System, or by manually editing the time_zone setting in the env.ini file.
It is also recommended to set the same time zone in the date.timezone setting in the php.ini file. See this list of available time zones. For example, to set PHP to use Eastern Standard Time in the US, set date.timezone to "America/New_York":
In the US, use these time zones:
| US standard time zone | PHP time zone |
|---|---|
| Eastern | America/New_York |
| Central | America/Chicago |
| Mountain | America/Denver |
| Mountain no DST | America/Phoenix |
| Pacific | America/Los_Angeles |
| Alaska | America/Anchorage |
| Hawaii | America/Adak |
| Hawaii no DST | Pacific/Honolulu |
After changing the time zone, restart Apache for the changes to take effect.
By default, ProcessMaker logs a user out after 24 minutes of inactivity. This time can be changed by setting the value of session.gc_maxlifetime in php.ini.
In addition, session.cache_expire sets how long data in the cache is stored and session.cache_limiter determines whether data is cached by the web browser and proxies.
After modifying these settings, restart Apache.
In PHP 5.3.9 and later, the max_input_vars setting limits the maximum number of posted variables. By default, max_input_vars is set to 1000. If a grid has 5 fields per row, then only the first 200 rows of the grid will be saved in a Dynaform and only the first 200 rows will be included in an Output Document.
To use grids with more rows, increase this setting in the php.ini configuration file:
Then, restart Apache for the new setting to take effect.
In Red Hat/CentOS:
In Debian/Ubuntu/Mint:
Configure the file as follows:
Note: If using a Bitnami installation, then also change the max_input_vars setting in the apps/processmaker/conf/httpd-app.conf file.
To import large processes it may be necessary to increase the memory_limit to 256M in php.ini:
After modifying this setting, restart Apache.
Note: If using a Bitnami installation, then also change the memory_limit setting in the apps/processmaker/conf/httpd-app.conf file.
Installing an opcode cache manager, such as Zend, Alternative PHP Cache (APC), XCache, eAccelerator or ionCube EncoderZend, can double the speed of ProcessMaker and decrease the load on your server's CPU. Of the available PHP accelerators, ProcessMaker recommends APC because it is maintained by PHP developers; however, APC, Xcache and eAccelerator all have good performance.
Make sure to restart Apache after installing an opcode cache manager and only use one opcode cache manager at a time.
Debian/Ubuntu/Mint:
APC can be installed from your distribution's repository:
Red Hat/CentOS:
Windows:
To prevent single quotation marks and backslashes from being automatically inserted in Output Documents, turn off magic quotes in php.ini.
After modifying these settings, restart Apache.
Version 2.8.0 and later uses the fileinfo extension in PHP to verify the extensions of uploaded files and ensure that the file extension matches the contents of the file. The fileinfo extension is included by default in PHP 5.3.0 and later, but it may need to be enabled. Use php -m in the command line or go to ADMIN > Settings > System Information in ProcessMaker to check whether the fileinfo extension is enabled.
Windows:
Enable the fileinfo extension by editing the php.ini file with a plain text editor and adding or uncommenting the following line:
Then, restart Apache and verify that the extension is enabled.
Linux/UNIX:
In most Linux/UNIX distributions, the fileinfo extension is enabled by default in PHP. If not, add the following line to the php.ini file:
Then restart Apache to use the fileinfo extension.
MySQL can be configured by editing its my.cnf file (which is named my.ini in Windows). Its location depends on the operating system:
Red Hat/CentOS/SuSE/OpenSUSE:
Debian/Ubuntu/Mint:
Manual installation in Windows:
Bitnami (Linux):
Bitnami (Windows):
After modifying the my.cnf file, restart MySQL:
Red Hat/CentOS:
Debian/Ubuntu/Mint/SuSE/OpenSUSE:
Manual installation in Windows:
Open a DOS terminal and issue the following commands to restart the service:
Bitnami Installation
Enter the following commands as the root user or prepend the sudo command. Change to the directory where the Bitnami stack is installed. For example, on a Linux server:
Then, restart Bitnami's MySQL:
To avoid problems running triggers in MySQL 5.5 and later, edit the my.cnf configuration file and set the binlog_format to log by rows rather than statements:
For more information, see the MySQL documentation. Then, restart MySQL for the new setting to take effect.
According to the Mysql manual, the default thread stack is 128K, which sometimes is not enough to execute long queries, e.g., long joins. If the thread stack is too small, the following Thread stack overrun (MySQL ERROR 1436) may occur:
If this problem is encountered, edit the MySql configuration file my.cnf and increase the size of the thread_stack setting in the following line:
Then, restart MySQL for the change to take effect.
Warning: MySQL 5.7.XX is not officially supported by ProcessMaker 3.0.x and 3.1.x.
MySQL 5.7.5 and later enables the ONLY_FULL_GROUP_BY mode by default, which causes a problem with some of the database queries used by ProcessMaker. For example, going to Home > Participated when ONLY_FULL_GROUP_BY mode is enabled will generate the error:
debug_sql=1 in the env.ini file, will show the cause of the error:
To remove the ONLY_FULL_GROUP_BY mode, first login to MySQL as the root user:
Bitnami install in Windows:
Bitnami install in Linux:
Manual install in Linux/UNIX:
Then, get the complete list of settings for sql_mode:
Copy all the settings except for ONLY_FULL_GROUP_BY, which needs to be removed from the list.
To exit MySQL, use the command:
Then, edit the my.cnf file to change the configuration of MySQL.
Its location depends on the OS and how ProcessMaker was installed:
Bitnami install in Windows:
Bitnami install in Linux:
Manual install in Debian/Ubuntu:
/etc/mysql/my.cnf
or/etc/mysql/mysql.conf.d/mysqld.cnf
Manual install in Red Hat/CentOS:
/etc/my.cnf
Note: In Linux/UNIX, these files can only be edited by logging in as root with su or sudo -i.
Edit the sql_mode setting which is found in the [mysqld] section.
If it doesn't exist, then add it. Set all the modes that are already being used,
except ONLY_FULL_GROUP_BY.
For example:
Then, restart MySQL (or reboot):
Bitnami install in Windows:
Bitnami install in Linux:
Manual install in Debian/Ubuntu:
service mysql restart
Manual install in Red Hat/CentOS:
service mysqld restart
Now, the query error should not appear when going to Home > Participated in ProcessMaker.
It is necessary to update the encrypted information in the paths_installed.php file after:
First make the changes in MySQL, then update the information in ProcessMaker. See: Changing the MySQL.
The <install_directory>/shared directory holds all the files used by workspaces, including the files uploaded to cases and Output Document files generated by cases. To move the shared directory to a new location, edit the file <install_directory>/workflow/engine/config/paths_installed.php with a plain text editor. Change the paths of the PATH_DATA and PATH_C constants to their new locations.
For example, if the /opt/processmaker/shared file has been moved to a network attached storage (NAS) which is mounted at /mnt/pm/shared and the db.php file contains the following:
Make sure to not change the HASH_INSTALLATION and SYSTEM_HASH. Then, save the changes in the db.php file and the new location can be used.
Inside the Admin tab, an option to check whether ProcessMaker's requirements are met was added in version 3.0 and later. This option checks whether all the requirements are correctly installed and lists which versions are installed.
Log in to ProcessMaker as a user with the PROCESSMAKER_ADMIN role. Then go to ADMIN > Settings > Check PM Requirements:

After installing any missing requirements, click on the Check again button to verify whether everything is properly installed.
Automate your Workflow with Business Process Management
Privacy Statement
© Copyright 2000-2026 Decisions All rights reserved.

