bulk change php type?

Discussion in 'Installation/Configuration' started by craigfanman, Jun 15, 2017.

  1. craigfanman

    craigfanman Member

    Hi, I've done a migration, all gone fine the only thing I need to do is change about 1000 sites from suphp to fast cgi. I tried updating this in the db (a simple 'UPDATE SET php='fast-cgi') but ispconfig didnt apply the changes to the vhosts file so thats obviously not how it works. Any ideas for easy ways to do this? Could make a script through the API, would be a bit of effort but still quicker than doing 1000 by hand :)
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Run tools > resync in ISPConfig after you changed the value in the database.

Share This Page