update php-fpm defaults; update paths for current stable php-7.3; read froxlor default php.ini from file rather then using phpconfig with id=1; fixes #796
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -27,7 +27,8 @@ class FpmDaemonsTest extends TestCase
|
||||
$json_result = FpmDaemons::getLocal($admin_userdata, $data)->add();
|
||||
$result = json_decode($json_result, true)['data'];
|
||||
$this->assertEquals('/etc/php/7.1/fpm/pool.d/', $result['config_dir']);
|
||||
$this->assertEquals(0, $result['max_children']);
|
||||
$this->assertEquals('dynamic', $result['pm']);
|
||||
$this->assertEquals(5, $result['max_children']);
|
||||
$this->assertEquals('.php', $result['limit_extensions']);
|
||||
self::$id = $result['id'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user