FastCGI working buggy

This commit is contained in:
2020-12-27 18:33:50 +01:00
parent 1429961e44
commit 885ec2226f
7 changed files with 641 additions and 30 deletions

View File

@ -41,6 +41,7 @@
#define ERR_STR "\x1B[1;31m"
#define CLR_STR "\x1B[0m"
#define BLD_STR "\x1B[1m"
#define WRN_STR "\x1B[1;33m"
#define HTTP_STR "\x1B[1;31m"
#define HTTPS_STR "\x1B[1;32m"
@ -56,6 +57,7 @@
#define NECRONDA_ZLIB_LEVEL 9
#define MAGIC_FILE "/usr/share/file/misc/magic.mgc"
#define PHP_FPM_SOCKET "/var/run/php-fpm/php-fpm.sock"
int sockets[NUM_SOCKETS];
pid_t children[MAX_CHILDREN];