The “exec” PHP function has been disabled on your server. Contact your system administrator to enable it

Dear @sergiobm

the php.ini looks like this:

; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
; log PHP errors to a file 
log_errors = on
html_errors = on
log_errors_max_len = 0
error_reporting = 32767
error_log =  /path/to/logfile/ojs/errors_php.log
disable_functions = "opcache_get_status"
allow_url_fopen = On
allow_url_include = Off
display_errors = Off
enable_dl = On
file_uploads = On
max_execution_time = 300
max_input_time = 600
max_input_vars = 1000
memory_limit = 128M
post_max_size = 100M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php74"
upload_max_filesize = 100M
zlib.output_compression = Off

Interestingly, some of the directives like post_max_size do not work in our case. I guess that’s because overrides are disabled in the primary apache configuration, and we can’t change it. So the directive: disable_functions = "..." works in our case, but might not work on other cpanel servers. Just give it a try and countercheck with a custom phpinfo(); in the install folder of OJS.

All the best
Klaus