I want to add php-7.4(ion-cube) in Multi PHP list

admin > gear mark > Confiure > web server
Multi PHP list

I want to add php-7.4(with ionCube_Loader) in Multi PHP list.
How can I do this?

If you not aware how to code in bash and php, it will be impossible to do. If you know, check the source code on our github project.

You can’t add a new php version for ioncube only

Thank you.

But I would like to be able to tell users which versions are “not supported”.

PHP 5.6 successfully updated
PHP 7.0 successfully updated
PHP 7.1 successfully updated
PHP 7.2 successfully updated
PHP 7.3 successfully updated
PHP 7.4 successfully updated
PHP8.0 is currently not supported
PHP 8.1 successfully updated
PHP8.2 is currently not supported

You can create special templates with “ioncube_PHP-X_Y.tpl”

https://docs.hestiacp.com/admin_docs/web.html#how-can-i-change-settings-for-a-specific-domain

|Nginx - PHP FPM |/usr/local/hestia/data/templates/web/nginx/php-fpm/|
|Apache2 - PHP FPM |/usr/local/hestia/data/templates/web/apache2/php-fpm/|
|PHP-FPM |/usr/local/hestia/data/templates/web/php-fpm/|

I’ve looked at some of the tpl files in the above, but I’m not sure which one to change.

/usr/local/hestia/data/templates/web/php-fpm

Just recreate a copy of them and rename the copy to ioncube_PHP-7_4.tpl

Adjust tell the users to use that one…

root@myhestia:/usr/local/hestia/data/templates/web/php-fpm# mv PHP-7_4.tpl PHP-7
_4_org.tpl
root@myhestia:/usr/local/hestia/data/templates/web/php-fpm# cp PHP-7_4_org.tpl ioncube_PHP-7_4.tpl

After running this and logging into Hestiacp…
php-7.4 was unchecked.
I checked again and saved.
Then php-7.4 appeared in his Hestiacp.

I currently have three files: These files are identical files.
ioncube_PHP-7_4.tpl
PHP-7_4.tpl
PHP-7_4_org.tpl

PHP-7_4_org.tpl

Will not work naming needs to be PHP-7_4.tpl and ioncube_PHP-7_4.tpl

Also you can’t uncheck / delete php in admin > gear mark > Confiure > web server

As it will remove php7.4 from the server.

But it will add the template option in:

Only php-7.4 is displayed on the management screen of Hestiacp.
I expected it to show up as ioncube_PHP-7_4.tpl. But is it different?
Did I create a file ioncube_PHP-7_4.tpl just to distinguish which versions are supported and which are “not supported”?

The templates are never visible on the management screen. It lists the installed php versions and there is no difference between “PHP-7.4” and “PHP-7.4 with ioncube” Because ioncube is a module loaded in php

I understand.
Thank you very much.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.