Commit Graph

49 Commits

Author SHA1 Message Date
Daniel Berteaud 0718fc8b4a Fix closing parenthesis on prop method 2017-07-27 18:05:00 +02:00
Daniel Berteaud fa3d2112cd Simplify mod_fastcgi config template 2017-07-14 17:02:04 +02:00
Daniel Berteaud 05acd70658 Fix reading status prop for cutom pools 2017-07-14 16:53:28 +02:00
Daniel Berteaud a317932158 Add templates.metadata for custom php pools 2017-07-14 16:52:04 +02:00
Daniel Berteaud d37510d18b Missing closing quote and semi-colon 2017-07-14 16:49:19 +02:00
Daniel Berteaud fc97f8f927 Fix httpd template syntaxe 2017-07-14 13:55:39 +02:00
Daniel Berteaud 3f76ffa141 Possibility to use a custom PHP pool per share 2017-07-14 12:40:34 +02:00
Daniel Berteaud d7656b699c Cleanups in shares php pool templates 2017-07-14 12:29:58 +02:00
Daniel Berteaud daef899874 Add possibility to define custom PHP pools 2017-07-14 12:23:57 +02:00
Daniel Berteaud 198231fb45 Replace logrotate conf with templates 2017-07-12 18:55:21 +02:00
Daniel Berteaud 6f64cb8c3f run tmpwatch for PHP temp dir 2017-07-12 18:26:36 +02:00
Daniel Berteaud fc4d59c64b Fixes in php-pool-dirs action script 2017-07-12 12:17:50 +02:00
Daniel Berteaud aa37d930f8 Fix shares pool template path for php56 2017-07-11 19:57:10 +02:00
Daniel Berteaud c1450e94f7 Remove the adjust service action script
Instead makes sure there's no socket conflict by simply prepending the PHP version to the socket name
2017-07-11 19:43:53 +02:00
Daniel Berteaud bd62c565c0 Various fixes in pools templates 2017-07-09 22:14:05 +02:00
Daniel Berteaud 3e21f2eaab Fix PIDFILE for php71 2017-07-09 22:01:11 +02:00
Daniel Berteaud 7d52484a4f Fixes in adjust-php-fpm-services 2017-07-09 21:48:26 +02:00
Daniel Berteaud d6b14adfc8 Set PIDFILE so services can be stopped 2017-07-09 21:43:57 +02:00
Daniel Berteaud b76293809c Add a action acript to handle FPM restarts 2017-07-09 21:26:06 +02:00
Daniel Berteaud bfdabe4b1b Fix double $ in var name 2017-07-09 21:04:29 +02:00
Daniel Berteaud 17cf6724ee No # allowed for comment in php conf since php 7 2017-07-08 12:22:57 +02:00
Daniel Berteaud 440227bf34 Add default DB entry for php70-php-fpm and php71-php-fpm 2017-07-08 12:12:20 +02:00
Daniel Berteaud 12527c1508 Makes sure we remove php pool dirs on share delete 2017-07-08 12:06:14 +02:00
Daniel Berteaud 9649dd4222 Add a script to create and delete php pool dirs 2017-07-08 12:05:32 +02:00
Daniel Berteaud c793cdef93 Fixes and cleanup in shares template 2017-07-08 11:44:16 +02:00
Daniel Berteaud 9ac0ec6917 templates.metadata for shares pools must be independant from www.conf 2017-07-08 11:36:16 +02:00
Daniel Berteaud 0a70b24010 Remove useless FPM_POOL_DIR from pools MORE_DATA 2017-07-08 11:10:09 +02:00
Daniel Berteaud c6275f4299 Create one PHP FPM pool per shared folder 2017-07-08 11:03:03 +02:00
Daniel Berteaud 9c59939401 Add support for PHP 7.0 and PHP 7.1 2017-07-06 19:15:14 +02:00
Daniel Berteaud 998315223b Remove useless PID_DIR from MORE_DATA 2017-07-06 19:10:51 +02:00
Daniel Berteaud 2e76904ff8 Allow complete access to the dummy location for php-cgi handlers 2017-07-06 19:04:55 +02:00
Daniel Berteaud f950348e8a Adapt to work with mod_fastcgi or mod_proxy_fcgi 2017-07-06 18:40:22 +02:00
Daniel Berteaud c01d59f523 Conditionaly load mod_proxy_fcgi or mod_fastcgi 2017-07-06 18:13:46 +02:00
Daniel Berteaud 4c0439a2a8 Ensure each php-fpm master uses a different PID file 2017-07-05 23:08:13 +02:00
Daniel Berteaud e4668215ad Remove useless $PID_DIR from MORE_DATA 2017-07-05 23:03:08 +02:00
Daniel Berteaud 7a2476785e Add templates metadata for stock php-fpm.d/www.conf 2017-07-05 23:02:48 +02:00
Daniel Berteaud 52ee545b25 Add template metadata for stock php-fpm.conf 2017-07-05 23:01:03 +02:00
Daniel Berteaud 0ab3ca30c9 Move defaults DB entry in their correct dir 2017-07-05 23:00:35 +02:00
Daniel Berteaud 689f207cbe Add default DB entry for stock php-fpm service 2017-07-05 22:46:05 +02:00
Daniel Berteaud 73615c326b Support empty $PHP_VERSION for default php-fpm service 2017-07-05 22:43:57 +02:00
Daniel Berteaud b9b738be06 Put PID in global /var/run/php-fpm dir 2017-07-05 22:42:14 +02:00
Daniel Berteaud 27448561e2 Use php56-php-fpm entry to get conf instead of php56 2017-07-05 22:29:45 +02:00
Daniel Berteaud 69e1a214d0 Add service entry for php56-php-fpm 2017-07-05 22:29:30 +02:00
Daniel Berteaud a3c773364f Load mod_proxy_fcgi 2017-07-05 22:19:53 +02:00
Daniel Berteaud 2ae809f147 Set default disabled functions 2017-07-05 10:26:10 +02:00
Daniel Berteaud 3cff192c10 Read defalt pool settings from the DB 2017-07-04 22:53:42 +02:00
Daniel Berteaud 9d5481ddfb Fix templates.metadata for fpm pools 2017-07-04 22:53:13 +02:00
Daniel Berteaud 1997dd3bcb Add templates for default PHP pool 2017-07-02 23:10:24 +02:00
Daniel Berteaud a0018ed841 First commit 2017-07-02 14:19:48 +02:00