php-fpm problem ispconfig API remote

Discussion in 'Installation/Configuration' started by S0ft, Feb 20, 2015.

  1. S0ft

    S0ft Member HowtoForge Supporter

    I'm using nginx wheezy

    the truth I do not know where is the error but something is happening

    array 16 it
    Code:
    'PHP Mode' => array(
    'Type' => 'dropdown',
    'Options' => 'no,fast-cgi,cgi,mod,suphp,php-fpm'
    ),
    
    When sending
    Code:
    $phpmode = $params['configoption16'];
    pool is generated but are missing some data that cause bad request 502

    I had to edit /etc/php5/fpm/pool.d/webX.conf
    php5-fpm to operate again



    https://www.howtoforge.com/community/threads/new-ispconfig-module-for-whmcs.67824/page-6#post-325704
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely the script that you use is not passin all values that are required for an nginx server to ispconfig. The ispconfig remote api is inserting the data into the web_domain database table, compare a website that you created n ispconfig with one that you created with your external script. then adjust your script so that it sends the same avalues as $params array parameters to the api that ispconfig has used to create the site to get the same result with your api script that you get when you use the ispconfig interface.
     
  3. S0ft

    S0ft Member HowtoForge Supporter

    thanks, it is already running
     

Share This Page