- Wed Aug 15, 2018 7:45 pm
#815702
I have two following questions:
Q#1: Does ProcessMaker support 3rd party dynamic extensions or just provide only an option to enable/disable it from php.ini file?
Q#2: If ProcessMaker provides a framework or mechanism to create and load custom dynamic extensions then how can i create a one for myself? Any tutorial available?
Problem Statement:
I have written a dynamic extension (.so file; platform is CentOS 7) in C++ using PHP-CPP-LEGACY framework, this dynamic extension works fine with the PHP 5.4.16 and Zend Engine v2.4.0 (seperately installed on my dev machine), i want to load it in the ProcessMaker to use this extension in my custom developed plugin, but unfortunately its not being loaded into the phpinfo() output. I performed following steps:
1. I copied the output file into the ProcessMaker's extensions directory using following command "cp -f myExtension.so /home/mkhan/processmaker-3.2.1-0/php/lib/php/extensions"
2. Used following command to copy its ini file into the etc directory "cp -f myExtension.ini /home/mkhan/processmaker-3.2.1-0/php/etc", furthermore I also entered the name of my extension in the php.ini file after extension property.
3. Restarted Apache Web Server using Bitnami Server Manager (manager-linux-x64.run)
4. Load <?php phpinfo(); ?> from the info.php file (https://192.168.56.111:8443/plugin/cust ... n/info.php)
5. check the name of my dynamic extension in the output page
I didn't find my extension in the output after lot of tries and combinations, please help me by suggesting a way to develop custom dynamic extension for ProcessMaker as I didn't find any on your site or in the google search.
Q#1: Does ProcessMaker support 3rd party dynamic extensions or just provide only an option to enable/disable it from php.ini file?
Q#2: If ProcessMaker provides a framework or mechanism to create and load custom dynamic extensions then how can i create a one for myself? Any tutorial available?
Problem Statement:
I have written a dynamic extension (.so file; platform is CentOS 7) in C++ using PHP-CPP-LEGACY framework, this dynamic extension works fine with the PHP 5.4.16 and Zend Engine v2.4.0 (seperately installed on my dev machine), i want to load it in the ProcessMaker to use this extension in my custom developed plugin, but unfortunately its not being loaded into the phpinfo() output. I performed following steps:
1. I copied the output file into the ProcessMaker's extensions directory using following command "cp -f myExtension.so /home/mkhan/processmaker-3.2.1-0/php/lib/php/extensions"
2. Used following command to copy its ini file into the etc directory "cp -f myExtension.ini /home/mkhan/processmaker-3.2.1-0/php/etc", furthermore I also entered the name of my extension in the php.ini file after extension property.
3. Restarted Apache Web Server using Bitnami Server Manager (manager-linux-x64.run)
4. Load <?php phpinfo(); ?> from the info.php file (https://192.168.56.111:8443/plugin/cust ... n/info.php)
5. check the name of my dynamic extension in the output page
I didn't find my extension in the output after lot of tries and combinations, please help me by suggesting a way to develop custom dynamic extension for ProcessMaker as I didn't find any on your site or in the google search.