Is there an api option for php-fpm sessions and whether its dynamic or static?

Discussion in 'Developers' Forum' started by webguyz, Apr 16, 2015.

  1. webguyz

    webguyz Member HowtoForge Supporter

    Trying to use remote api and installing php-fpm as a the default, but its not enabling options like PHP-FPM Sessions. Is there a api setting to do this or a config file that gets used when installing a new website and choosing php-fpm as the default php?

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You should be able to set that in params array of the website insert api call. It might be that not all options are listed in the docs, take a look at the web_domain database table to find the names of the params, they are the same then the column names of the database.
     
  3. webguyz

    webguyz Member HowtoForge Supporter

    I found them. Thanks!
     
  4. webguyz

    webguyz Member HowtoForge Supporter

    I tried to add a date using:
    'added_date' => date('m-d-Y'),

    But it didn't do it and I got 0000-00-00 in the db. Am I using the wrong format?

    Thanks!
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    It is possible that this field is not available trough the api yet.
     
  6. webguyz

    webguyz Member HowtoForge Supporter

    Looks like it will work if I change it to date('Y-m-d')

    Here in the states we normally use m-d-y, but I can live with this.

    Thanks!
     

Share This Page