Stratus Guides - Install IonCube Loader
Note: ionCube Loader for PHP 8 installation at the server with Webscale Stratus had not been tested, and we cannot guarantee its stability.
To Install IonCube Loader in your Stratus environment, follow these steps:
tar -xvf ioncube_loaders_lin_x86-64.tar.gz
cp /usr/local/etc/php/php.ini /srv/
Edit the php.ini file, and in front of [PHP] add the following:
Example of how a file needs to look finally:
zend_extension=/srv/ioncube/ioncube_loader_lin_8.1.so [PHP] memory_limit = 2048M max_execution_time = 18000 max_input_vars = 100000 upload_max_filesize = 100M post_max_size = 100M date.timezone = UTC sendmail_path = /usr/sbin/sendmail -t -i session.gc_maxlifetime = 86400 sys_temp_dir = /tmp user_ini.filename=""
- Edit /srv/.bash_profile file and add the following:
www@somewhere:~$ php -v | grep -i ioncube with the ionCube PHP Loader v12.0.2, Copyright (c) 2002-2022, by ionCube Ltd.
Redeploy the environment, and you should be getting, by default, ionCube loader loaded.
Open up a ticket with Webscale Stratus support, so we can add environment variables for PHP-FPM that are needed.
Was this page helpful?
Glad to hear it! Have any more feedback? Please share it here.
Sorry to hear that. Have any more feedback? Please share it here.