ISPConfig3 config files vs web ui

Discussion in 'Installation/Configuration' started by pschiffe, Jul 21, 2024.

  1. pschiffe

    pschiffe New Member

    Hello,
    I know there are two config files for ISPConfig3, based on this page: https:// www. howtoforge. com/faq/where-to-find-the-ispconfig-2-configuration-file
    How exactly the configuration works? When I change these files, the change is not visible in the web ui, maybe I need to do some reconfiguration / reload?
    I would like to do some changes to ISPConfig3 via script, such as change log level, or add an additional php version, but not sure how to go about it. Any suggestions?
    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No,. But if you do not say what you changed there, I can't help you.

    This is not related to the config.inc.php files. If you want to make the changes you mentioned, then you must use the remote API:
    https://git.ispconfig.org/ispconfig/ispconfig3/-/tree/develop/remoting_client
     
    ahrasis likes this.
  3. pschiffe

    pschiffe New Member

    Thank you, Till, the API should help. I found the server_get_php_versions() fn, but no server_set_php_versions(), so I'm assuming there is none, right?

    For others reading this, there is more documentation here: https:// www. howtoforge.com/how-to-create-remote-api-scripts-for-ispconfig-3 and in the files /usr/local/ispconfig/interface/lib/classes/remot*
    Besides SOAP, there's also REST API available, which works with json instead of xml.
     
    ahrasis likes this.
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    If you read Please read before posting, you will find how to debug ISPConfig properly, if that is what you intended with changing log level. Plus, there is already a tutorial for adding php and you definitely need not change the core ISPConfig files for this.

    For other customization, you may look into files in conf folder that you wish to modify, then copy that to conf-custom and modify the one you need in there instead. There are a lot of topics / posts that already discussed on how to do this.
     
  5. pschiffe

    pschiffe New Member

    Thank you for your response. I'm interested in changing some of the ISPConfig3 settings which are available in the web ui programmatically. And that is mostly covered by the Remote API ISPConfig3 has.
     
    ahrasis likes this.

Share This Page