This guide provides instructions on how to manually install and configure the following ProcessMaker versions on a Windows platform:
|ProcessMaker 3.0 - 220.127.116.11||ProcessMaker 3.1 - 3.1.3||ProcessMaker 3.2 - 3.2.3|
Before installing ProcessMaker, check the Installation Requirements of your version of ProcessMaker to see whether your server meets the necessary hardware and software requirements. Also, do not forget to read the following recommendations:
- Check our Supported Stacks page and the Compatible Browsers List for ProcessMaker 3.0, ProcessMaker 3.1 and ProcessMaker 3.2.
- To use ProcessMaker with Internet Explorer 11, please read the Internet Explorer Compatibility page.
- ProcessMaker is not compatible with MySQL STRICT mode, which is enabled by default as of MySQL 5.6.6. Read the Turning Off MySQL STRICT Mode section to learn how to disable it.
Note: To install ProcessMaker 18.104.22.168, 3.1.x or 3.2.x on Windows Server 2012 R2, please follow the instructions on the Stack 210 page to install Apache, MySQL and PHP. Then, continue with Step 4: Download & Extract ProcessMaker and the following steps in this guide.
To install ProcessMaker 3.2.2 - 3.2.3 on Windows Server 2012 R2, please follow the instructions on the Stack 215 page to install Apache, MySQL and PHP. Then, continue with Step 4, and the following steps in this guide.
Step 1: Installing the Apache Server
Download the Apache 2.4 binary file VC11 (available in x64 or x86) from this Apache Lounge page.
The Apache binary file must be compiled with the VC++ redistributable compiler. In the case Apache 2.4 VC11 must be compiled with C++ Redistributable Visual Studio 2012, go to the Visual C++ Redistributable for Visual Studio 2012 page.
Select the language and click on the Download button.
Select the vcredist_x64 or vcredist_x86 file (depending on your system) and click on the Next button in the bottom right corner of the dialog screen. The file will begin downloading automatically.
Once the file has finished downloading, install the "vcredist_xXX.exe" file as the administrator.
The window shown in the image below will be displayed. Check the box to accept the installation terms and conditions, and click on Install to begin the installation.
Extract the Apache binary file (if the x64 bit version was downloaded, the file is named "httpd-2.4.20-win64-VC11.zip") to the disk C:\. There is an Apache24 folder inside it. Cut and paste the Apache24 folder into C:\.
Note that decompressing the binary file in another location will require extra configuration, because the default ServerRoot path in Apache's conf files is: C:\Apache24.
Edit the Apache file httpd.conf located at C:\Apache24\conf\httpd.conf
Uncomment the following modules (remove the # symbol at the beginning of each line):
LoadModule deflate_module modules/mod_deflate.so
LoadModule expires_module modules/mod_expires.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule filter_module modules/mod_filter.so
By default, the httpd.conf file is configured to listen to all addresses on the machine on port 80. However, it may need to be configured to listen on specific ports, or only to selected addresses depending on your server.
To make the server accept connections on both port 80 and port 8000 on all interfaces.
To make the server accept connections on port 80 for one interface and port 8000 for another, use:
Finally, add the following lines to the end of the httpd.conf file. This will include the
AddType application/x-httpd-php .php
# configure the path to php.ini
Save the changes and close the file.
Step 2: Installing PHP
Please take notice of the following PHP restrictions:
- ProcessMaker does NOT support PHP 7.
- On some hosted servers, the get_headers and apache_request_headers functions may be disabled, which will cause ProcessMaker's API not to work properly since REstler library uses those functions. Make sure those functions are enabled.
- Windows Operating System x86 only supports 32-bit timestamps. The valid range of a 32-bit timestamp is typically from Fri, 13 Dec 1901 20:45:54 UTC to Tue, 19 Jan 2038 03:14:07 UTC; using out of range values may cause issues. For more information about this problem, go here.
- Experimental x64 builds of PHP 5 in Windows x86 do not provide 64-bit integer or large file support.
- Prior to PHP 5.1.0, not all platforms support negative timestamps, therefore your date range may be limited to no earlier than the Unix epoch. This means that dates prior to Jan 1, 1970 will not work on Windows, some Linux distributions, and a few other operating systems.
Downloading & Configuring PHP
Go to the PHP Download page, scroll down and search for the PHP 5.5.38.zip installer (choose the x86 or x64 bit version depending on your system) and download the Thread Safe version. PHP has to be thread-safe to be able to work correctly with Apache.
First, create a folder named "php" in disk C:\ and decompress the php-5.5.38-Win32-VC11-xXX file inside.
Then, rename the file named php.ini-development to php.ini.
Open the new php.ini file with your favorite editor, search for the following lines and edit them using the following configuration:
Next, uncomment the following extensions (remove the semicolon ; at the beginning of each line):
Save the changes and close the file.
Finally, copy the following files located at C:\php and paste them to the C:\Windows\system32\ and C:\Windows\SysWOW64 folders:
Adding PHP as an Environment Variable
To ensure Windows can run PHP tasks from the Windows command prompt, add the PHP installation location to the PATH variable of your Windows server.
To do this, display the Start menu, right click on the Computer option, and select the Properties option in the menu.
The System window will open. Click the Advanced system settings link that is on the left side of the window.
In the System Properties window that is displayed, select the Advanced tab and click on the Environment Variables... button.
The Environment Variables window will be displayed. Search for the Path variable in the System Variables section. Select it and click on Edit.
A new dialog window will be displayed. Add a semi-colon (;) to the end of the variable value string, then add the file system path of the PHP installation, which in this case is
Click OK to close all the windows. To test if the PHP path was added successfully, open a command prompt and run
php -v to see the version of the PHP installed.
Step 3: Installing the MySQL Server
|Warning: ProcessMaker is not compatible with MySQL STRICT mode, which is enabled by default as of MySQL 5.6.6. Read the Turning Off MySQL STRICT Mode section to learn how to disable it.|
Download the MySQL 5.5.X installer from the MySQL official website..
After selecting your system version, the next page will ask for your registration, but this can be bypassed by clicking the » No thanks, just take me to the downloads button at the bottom.
After the installer has been downloaded, double-click on it to start the Setup Wizard.
In the next dialog window, accept the License Agreement and click on Next.
In the Setup Type selection dialog, select Complete and continue with the installation.
The wizard will be ready to install the MySQL Server. Click on Install to proceed with the installation.
Once the server is installed, check the box to launch the MySQL Instance Configuration Wizard and click on Finish.
The Server Instance Configuration Wizard will help automate the process of configuring the server. Click on Next to begin.
There are two configuration types available: Detailed Configuration and Standard Configuration. Select the Detailed Configuration option to configure all possible settings then click on the Next button.
The Server Type dialog will be displayed. Select Server Machine, since this option allows the MySQL server to run alongside other server applications, such as FTP, email, and web servers. The MySQL server will be configured to use a moderate portion of the system resources.
Next, in the Database Usage dialog select the Transactional Database Only option. This option determines whether the InnoDB storage engine is available and what percentage of the server resources are available to InnoDB.
Some servers need to locate the InnoDB tablespace files in a location other than the MySQL server data directory. If this is the case, in the next dialog place the tablespace files in a separate location.
In the next dialog, to prevent the server from running out of resources, choose your preferred option to limit the number of concurrent connections that can be established.
Then, enable or disable TCP/IP networking and configure the port number that will be used to connect to the MySQL server. Port 3306 is used by default. If the port number you choose is in use, you are prompted to confirm your choice of port number.
Do not forget to uncheck the box next to the Strict Mode option, since ProcessMaker does NOT support MYSQL strict mode.
Next, select the option Best Support For Multilingualism to support UTF8 as the default server character set. This is a Unicode character set that can store characters from many different languages.
Check both boxes to set the MySQL server as a Windows service and click on Next. If this configuration is used, the MySQL server can be started automatically during system startup, and even restarted automatically by Windows in the event of a service failure.
In the next dialog window, set a root password for the MySQL server installation. ProcessMaker does NOT support special characters (such as:
@ # $ % ^ & ( /) in the root password. For more information, please read this section.
Check the box next to the Enable root access from remote machines option to permit root logins from across the network.
Finally, make sure everything is in order and start the configuration process by clicking the Execute button.
After the MySQL Server Instance Configuration Wizard has completed its tasks, it will display a configuration summary. Click the Finish button to exit the MySQL Server Configuration Wizard.
Step 4: Download & Extract ProcessMaker
Create the folder where ProcessMaker will be installed. For example, create a folder named "opt" on the disk C:\.
Download the most recent ProcessMaker tar.gz file from ProcessMaker's SourceForge page. ProcessMaker versions are labeled according to their build number. To download the latest version of ProcessMaker, look for the highest version number.
At the moment, the latest version is ProcessMaker 3.2.1.
Once the file has been downloaded, open it with your favorite file archiver, such as 7zip. If using 7zip, open the tar.gz file and in the window that opens, click the Extract option.
Select the ... button to display the Browser for Folder window, and search for the folder created. Select it and click OK.
The location selected will be displayed in the Copy to: field. Click OK to begin the extraction process.
The content of the tar.gz file will be extracted to C:/opt.
Once the process is completed, all ProcessMaker files will be located in the opt folder. Keep note of this location.
Step 5: Apache Configuration
The next step is to add the ProcessMaker Virtual Host file to the Apache Virtual Host configuration. To do this, copy the file C:\opt\processmaker\pmos.conf.example to C:\Apache24\conf\extra\ and rename it from pmos.conf.example to pmos.conf.
Edit the file C:\Apache24\conf\httpd.conf and add the following line at the end of the file:
Open pmos.conf that was copied to C:\Apache24\conf\extra\ and edit it to fit your Apache environment:
VirtualHost in Apache 2.4
your_processmaker_domain with the IP address or domain name used by your ProcessMaker server:
your_ip_address with the IP number or domain name of the server running ProcessMaker. If only planning on running and accessing ProcessMaker on your local machine, then use the IP address "127.0.0.1". To use ProcessMaker on a machine whose IP address might change (such as a machine whose IP address is assigned with DHCP), then use
*, which represents any IP address. To use a port other than the standard port 80, then it is necessary to also specify the port number.
If your DNS or c:\Windows\System32\Drivers\etc\hosts has a defined domain for ProcessMaker, then use that domain for
your_processmaker_domain. Otherwise, use the same IP address for
your_processmaker_domain as was used for
your_ip_address. For more information, see the Apache Virtual Hosts Documentation.
ProcessMaker is installed in the /opt/processmaker directory and is running on a server at the address 192.168.1.100:
ProcessMaker is installed in the /user/fred directory on your local machine at port 8080 with a dynamic IP assigned by DHCP:
ProcessMaker is installed in the /opt/pm22.214.171.124 directory at the IP address 126.96.36.199 and the domains
www.example.com and any variant of
*.example.com need to be defined in the server's DNS or c:\Windows\System32\Drivers\etc\hosts file for this example to work correctly.
Step 6: Starting Apache
Open a command line prompt and enter the following commands to install and start Apache with the new configuration.
C:\Apache24\bin\httpd -k start
Step 7: Setting up ProcessMaker
Once all ProcessMaker configurations are set up, open a web browser and enter the IP address (and port number if not using the default port 80) where ProcessMaker is installed. For instance, if ProcessMaker is installed at the address 192.168.10.100, go to http://192.168.10.100; or if it is installed locally at port 8080, go to http://127.0.0.1:8080.
Then, in the web browser, use the installation wizard to complete the installation of ProcessMaker. The wizard should work on any type of computer that is capable of running Apache, PHP and MySQL.
The first step in the installation wizard checks whether the server meets ProcessMaker's installation requirements:
This step checks the versions of PHP, MySQL and cURL and ensures that the necessary PHP modules are enabled and PHP memory_limit is at least 80MB. Requirements that are not met will be marked as No. Fix any missing requirements before continuing with the installation.
The second step of the installation wizard lists the paths of the directories where ProcessMaker stores its files and checks whether those directories have the correct file permissions:
If there is a problem accessing some files or directories, check to make sure the file permissions of the directories are set so the Apache user running ProcessMaker can access them.
It is possible to change the location of the shared directory, where files containing process and case data are stored. This directory is placed inside the ProcessMaker installation directory under shared by default, but it can be placed in another location or on a Network Address Translation (NAT) server. If the default location for the shared directory is not used, make sure that the chosen location has the proper file permissions so that it can be accessed by ProcessMaker, but is still restricted from normal users on the server who shouldn't have access to sensitive files. It is recommended to regularly backup the shared directory and MySQL files to prevent data loss.
ProcessMaker Open Source License
The third step of the installation wizard displays the ProcessMaker license.
Mark the option I agree and click on Next to continue the installation.
The fourth step of the installation wizard configures the connection to the MySQL database. Enter the name and password of a MySQL user, such as the root user, who has permission to set up new databases in MySQL. Then click on Test Connection to see whether that user can log in to MySQL and set up the ProcessMaker databases.
If ProcessMaker can't connect to MySQL, cannot log in with the user's credentials, or if the database already exists, an error message will appear.
Edit the information in the database configuration and click on Test Connection again.
The last step of the installation wizard configures the username and password of the Administrator user, which are both "admin" by default.
Important! The “admin” user will be able to access all the features and functionalities in the ProcessMaker installation, such as: system configuration, process creation and editing, user and group management, case management, and report and dashboard oversight, among others. Thus, it is strongly recommended to create a strong password for this account. Take a look at this list of password dos and don’ts. Also consider using a strong password generator like this one.
The ProcessMaker workspace and its database can also be configured in this step.
The name of the workspace can be changed from the default, which is "workflow". It may be useful to set up separate workspaces for each department, or division in an organization or for separate sets of processes.
By default, the installation wizard will create a new MySQL user who will be granted access to a new database named "wf_workflow" that will store ProcessMaker data. To use the existing MySQL user from Step 3 instead of creating a new user, mark the Use the current user as the database owner option. To change the name of the database, mark the Change database name option and write the name in the field under the checkbox.
Then click on the Check workspace Configuration button to verify that the configuration is correct. The message "The configuration is correct." will be displayed and the Finish button will be enabled.
If there is an error in the configuration, the message "Not passed." will be displayed in the dialog.
For example, if a database of the same name already exists, an error message will be displayed in the bottom right corner.
In this case, mark the option Change database name and enter a different name for the database that will be created by ProcessMaker, or mark the option Delete Database if it exists:
When the configuration is correct, click on the Finish button to create the workspace database.
If there are no problems, the message "ProcessMaker was successfully installed" will be displayed.
If there was a problem creating the database an error message will be displayed. In this case, check the configuration of MySQL and its my.cnf file.
If there was a problem writing the ProcessMaker files, change the file permissions of the directories to give Apache access.
Once ProcessMaker has been successfully installed, the web browser will be redirected to the login page. The Get Started screen will appear:
To avoid seeing the Get Started screen at every subsequent login, mark the option Don't show me again.
Then, enter the username and password of the Administrator user, which is "admin" by default, but a different username could have been configured in Step 4 of the installation wizard. Enter the name of the workspace that was configured in Step 4, which is named "workflow" by default, then click on Login to enter processmaker.
The login page can be customized. For more information see Login Settings.
Note: If a previous version of ProcessMaker was accessed by the web browser unintentionally, it is recommended to clear the browser cache after installing ProcessMaker to clear any stored pages from previous versions of ProcessMaker.
Step 8: env.ini Configuration
Once ProcessMaker is installed, some additional parameters must be set in the main env.ini configuration file.
To do this, edit the env.ini file located at <install-directory>/processmaker/workflow/engine/config/env.ini with a plain text editor.
Add the following lines:
Save changes and restart Apache.
Disabling MySQL STRICT Mode
MySQL can not use STRICT mode with ProcessMaker. If STRICT mode is enabled, then the following error message will appear when trying to login to ProcessMaker for the first time:
To check if MySQL is configured to use strict mode, open the file my.cnf with a plain text editor and look for the following line:
Note: Search for a line that contains STRICT_ALL_TABLES mode, and then disable it. In general remove all the lines with STRICT_TRANS_TABLES, STRICT_ALL_TABLES, and other SQL modes that may be valid in the specific MySQL configuration because they enable the STRICT mode.
Then, restart MySQL or reboot for the new configuration to take effect. If ProcessMaker has already been installed, then you will need to delete the existing wf_workflow database in MySQL and reinstall. To do this, first log in to MySQL as the root user from the command line:
Enter the root password for MySQL. Once in MySQL, drop the wf_workflow database (or whatever name it was given during installation).
Then, redirect your web browser to your server's location and follow the steps to reinstall ProcessMaker.
MySQL Password with Special Characters
The following error is displayed during the ProcessMaker installation when the MySQL password contains a character that is not a letter or a number, like:
@ # $ % ^ ( /.
Please change/reset your MySQL password and try to install ProcessMaker again. This is a known issue that will be fixed in ProcessMaker 3.2.
Disabling ONLY_FULL_GROUP_BY mode
Warning: MySQL 5.7.XX is not officially supported by ProcessMaker.
ProcessMaker does not support ONLY_FULL_GROUP_BY mode, which is enabled by default in MySQL 5.7.5 and later. For instructions, see Disabling ONLY_FULL_GROUP_BY mode.