Skip to content

yiliaofan/ansible-php_fpm_cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php_fpm_cli

Install libfcgi (which provides cgi-fcgi) and php-fpm-cli.

php-fpm-cli is a tool to have PHP FPM run arbitrary code from the command line. We use this tool in our f500.php_opcache_reset role to reset the OPcache which lives in FPM's memory.

Not much else to tell here, but please take a look at the role f500.php_opcache_reset.

Many thanx to Mathias Leppich, who is the author of php-fpm-cli and gave us the idea to create these roles!

Requirements

None (as this role will only install php-fpm-cli and libfcgi).

To be able to do anything with the php-fpm-cli tool, you will need PHP FPM up and running.

Role Variables

None.

Dependencies

None.

Example Playbook

Use as is:

- hosts: servers
  roles:
     - { role: f500.php_fpm_cli }

License

This role

LGPLv3

MIT

Author Information

This role

Jasper N. Brouwer, jasper@future500.nl

Ramon de la Fuente, ramon@future500.nl

Mathias Leppich, mleppich@muhqu.de

About

Install libfcgi and php-fpm-cli, which are needed for the role f500.php_opcache_reset.

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%