Synology (DSM 7.0.x)

7.x & PHP7.3
Step by Step Instructions to enable IonCube Loader on Synology DSM 7.x & PHP7.3

Connect to Synology

1. Enable SSH/Terminal

Please follow the official instructions provided by Synology.

2. Connect to Synology via SSH/Terminal

Use putty or any other terminal client.
IP Address: Your Synology DNS/IP.
Port: 22 (default, unless changed).
Username: Your Synology Username
Password: Your Synology Password
Once connected, you can switch to root user. To do so, type "sudo -i" and enter your Synology password.

Install IonCube Loader

1. Download IonCube Loader PHP Extension

The instructions are under the assumption that you've switched to 'root' user (sudo -i).

1. Navigate to the PHP extension/module folder.

cd /usr/local/lib/php73/modules

2. Download IonCube Loader for PHP7.3

wget https://extensions.vtexpertsextensionpack.com/libraries/ioncubeloader/ioncube_loader_lin_7.3.so

2. Enable IonCube Loader on PHP7.3

1. Navigate to the PHP7.3 Configuration folder

cd /volume1/@appstore/PHP7.3/misc

2. Confirm file php-fpm.ini is in #1 folder

ls -l
The output should be similar to this:

3. Modify php-fpm.ini

The command below will alter php-fpm.ini and add "zend_extension = ioncube_loader_lin_7.3.so" to the last of the file.
echo "zend_extension = ioncube_loader_lin_7.3.so" >> php-fpm.ini
Do not run this twice, if you do - you will need to modify php-fpm.ini, scroll all the way down and delete the duplicate "zend_extension = ioncube_loader_lin_7.3.so" line.
Having more than of "zend_extension = ioncube_loader_lin_7.3.so" will stop vtiger/webserver from starting up.

4. Restart WebServer (Web Station)

synopkg restart WebStation

Enable PHP-SOAP Extension

1. Login to your Synology DSM

2. Go to the Menu and click on Web Station

3. Find & Edit vtigerCRM Package-based Profile

  1. 1.
    Click Script Language Settings
  2. 2.
    Select vtigerCRM Package-based Profile (By clicking on the row)
  3. 3.
    Hit Edit (Edit button will become clickable once you select/click on the #2 row)

4. Enable soap Extension

  1. 1.
    Go to Extensions tab
  2. 2.
    Scroll to locate soap extension and check the box to enable.
  3. 3.
    Hit Save

1. Go to & Edit VtigerCRM Package-based-Profile

  1. 1.
    Login to your Synology DSM. (as shown above)
  2. 2.
    Go to the Menu and click on Web Station. (as shown above)
  3. 3.
    Find & Edit vtigerCRM Package-based Profile. (as shown above)
  1. 1.
    Click on Core tab
  2. 2.
    Type in to search for max_input_vars
  3. 3.
    Change value to recommended value e.g 10000
  4. 4.
    Repeat the same for the remaining values. (Scroll down to see recommended values)
    • default_socket_timeout = 600
    • max_execution_time = 600
    • max_input_time = 600
    • post_max_size = 50M
    • upload_max_filesize = 50M
  5. 5.
    Hit Save

Confirm Vtiger Extension Pack Requirements

  1. 1.
    Login to your VtigerCRM
  2. 2.
    Click on the Extension Pack Icon (or naviigate through the menu)
  3. 3.
    Confirm Configuration has been applied