disabled_functions PHP

Discussion in 'ISPConfig 3 Priority Support' started by Stelios, Nov 25, 2023.

  1. Stelios

    Stelios Active Member HowtoForge Supporter

    Hi all,

    Would you please let me know if any of the functions below is affect ISPconfig in multi server setup or in any other way?

    ini_set,show_source,system,shell_exec,passthru,exec,popen,proc_open,allow_url_fopen,system

    Thanks a lot
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I think you mean that restricting the use of those functions will break ISPConfig? All of these except show_source are used in the ISPConfig code.

    system is mentioned 2 times in your list by the way.

    Without a more concrete question I can not help you further.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    But you must also take in account where you want to restrict them, e.g. ISPConfig uses most of them in the server part only, so its a shell script (php-cli) and restricting shell functions in a shell script makes not that much sense as you probably want to restrict their use in websites.
     
  4. Stelios

    Stelios Active Member HowtoForge Supporter

    I want to restrict them into the web servers only (multi server setup) for users.
     

Share This Page