How to use the php/php-fpm.ini function in php

To help you get started, we’ve selected a few php examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github juicyfx / now-builders / src / php-bridge / index.js View on Github external
delete files['php/php-fpm'];
    delete files['php/php-fpm.ini'];

  } else if (mode === 'fpm') {
    delete files['php/php'];
    delete files['php/php-cgi'];

  } else if (mode === 'cli') {
    delete files['php/php-cgi'];
    delete files['php/php-fpm'];
    delete files['php/php-fpm.ini'];

  } else if (mode === 'cgi') {
    delete files['php/php'];
    delete files['php/php-fpm'];
    delete files['php/php-fpm.ini'];

  } else {
    throw new Error(`Invalid config.mode "${config.mode}" given. Supported modes are server|cgi|cli|fpm.`);
  }

  return files;
}

php

Allows you to run PHP code in Node.js in various ways.

CC-BY-4.0
Latest version published 5 months ago

Package Health Score

73 / 100
Full package analysis