ISPConfig without SuExec

Discussion in 'Installation/Configuration' started by thisiszeev, Nov 5, 2025.

  1. thisiszeev

    thisiszeev Member HowtoForge Supporter

    Is it possible to install ISPConfig with out SuExec? I have a unique multi server setup I need to create for a CDN, and since media files will be stored in folders that are SSHFS mounts, I need the UID and GID to be the same on all servers and vhosts. I would prefer to not have SuExec enabled in ISPConfig at all.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you do not want to use SuExec for PHP in a website, do not enable the SuExec checkbox in that site. And it must be an Apache web server.
     
    thisiszeev likes this.
  3. thisiszeev

    thisiszeev Member HowtoForge Supporter

    Can I configure it so that the SuExec is not checked by default?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You would have to change the code of the website form definition file for that.
     
  5. thisiszeev

    thisiszeev Member HowtoForge Supporter

    I found another work around.... since the main site(s) are on one server running Apache and PHP-FPM managed by ISPConfig and the CDN nodes are hosted on various servers running Nginx and PHP Disabled and managed by ISPConfig (I am starting with all the nodes running on two servers and will migrate nodes out to new servers as I scale.) I am able to use SSH users for each hosted node and then mount them onto the main site(s) using SSHFS and public keys, it doesn't matter what UID and GID the media files are written to the Nginx Vhosts as Nginx doesn';t care, as long as it can read the file it will serve it.

    Turns out the simplest solution was the best. Instead of hacking ISP Config, make use of adanced features that it offers.
     
    ahrasis likes this.

Share This Page