0
Completed

Ioncube configuration deleted everytime Synology NAS restarts

JeanChristophe C 1 year ago updated by Vlad R 1 year ago 3

I installed FileRun on my Synology NAS (DSM7) following the tutorial :

http://blog.filerun.com/how-to-install-filerun-on-synology-dsm-nas-using-web-station/

It works fine by I have to repeat the steps "Install Ino cube extension" of the tutorial everytime the NAS restarts.

Is there a way to avoid this ?

Answer

Answer
Completed

Try to put the line:

zend_extension = /usr/local/lib/php74/modules/ioncube/ioncube_loader_lin_7.4.so 

inside

/volume1/@appstore/PHP7.4/misc/php-fpm.ini

, instead of inside "/run/php-fpm/conf.d/filerun.ini ".

Let me know please if that works for you.

Answer
Completed

Try to put the line:

zend_extension = /usr/local/lib/php74/modules/ioncube/ioncube_loader_lin_7.4.so 

inside

/volume1/@appstore/PHP7.4/misc/php-fpm.ini

, instead of inside "/run/php-fpm/conf.d/filerun.ini ".

Let me know please if that works for you.

Thanks for the reply. I did that. When I restart my NAS I cannot access FileRun any longer.

I get the message :

"Site error: the ionCube PHP Loader needs to be installed." 

I had a look again. For a reason I put "zend_extension = /usr/local/lib/php74/modules/ioncube/ioncube_loader_lin_7.4.so" on 2 lines, instead of one, and this was the mistake.

I eventually added :

    zend_extension = /usr/local/lib/php74/modules/ioncube/ioncube_loader_lin_7.4.so
    zend_extension = opcache.so

at the end of the [zend] section of /volume1/@appstore/PHP7.4/misc/php-fpm.ini

and now it is working fine :  IonCube reloads when I restart the NAS. Thanks.