Michael Kaufmann (d00p)
6e651200ca
Make php.ini flag/value possibilities dynamic (settings)
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-11 13:04:38 +01:00
Michael Kaufmann (d00p)
f2a79d4d96
add new security.limit_extensions setting to fpm-daemon settings
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-10 15:20:19 +01:00
Michael Kaufmann (d00p)
d8abe30c44
create dummy pool-config whenever a fpm-daemons configdir is empty so it still restarts
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-09 09:25:56 +01:00
Michael Kaufmann (d00p)
07caf55f79
fixes to multi-fpm in cron
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-08 09:16:00 +01:00
Michael Kaufmann (d00p)
af55fe5b82
add possibility to add multiple php-fpm instances
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-07 14:55:25 +01:00
Michael Kaufmann (d00p)
7e4164da26
do not double validate openbasedir-values, as appendOpenbasedirPath() already takes care of that; also fix /dev/urandom as openbasedir-path-value to be treated as file correctly, fixes #1669
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-11-10 10:07:00 +01:00
Michael Kaufmann (d00p)
08563e9298
add more opcache-php.ini directives for php-fpm, fixes #1624
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-05-23 13:01:05 +02:00
Michael Kaufmann (d00p)
104383d31e
add a few opcache relevant php-ini directives to be used with php-fpm; add opcache.restrict_api to the default php-config for each domain with the customer's docroot as default value
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-03-15 17:05:09 +01:00
Michael Kaufmann (d00p)
6a10020e9b
respect 'start_servers value must not be greater than max_spare_servers' correctly, thx to Ragnos for the info
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-02-27 18:52:14 +01:00
Johannes Feichtner
1c4b88d014
Fix for case insensitivity bug in Apache 2.4.12 + PHP-FPM
...
With Apache 2.4.12, the FPM socket path is always considered as a
lowercase file path regardless of the used capitalization.
If Froxlor creates a socket file containing uppercase characters, Apache fails to find to the socket.
See https://bz.apache.org/bugzilla/show_bug.cgi?id=57968
2016-02-20 16:58:59 +01:00
knox
73a7e438ec
added more php_value and php_flag for suhosin
...
see https://suhosin.org/stories/howtos.html and https://suhosin.org/stories/configuration.html
2015-11-29 16:08:22 +01:00
knox
7357029a28
added php_flag 'suhosin.session.encrypt' and 'mbstring.func_overload'
...
these are required for custom php configuration for roundcube webmail
2015-11-22 13:41:06 +01:00
Michael Kaufmann (d00p)
eda055acca
Allow always_populate_raw_post_data to be set in php.ini for php-fpm, fixes #1562
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-11-04 11:35:05 +01:00
Piotr Rzeczkowski
c52df5b286
Allow max_input_vars in PHP-FPM configuration
2015-08-24 12:18:56 +02:00
Michael Kaufmann (d00p)
f9d79ba5a6
use correct PEAR directory setting in fpm-interface, fixes #1500
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-02-15 15:43:45 +01:00
Stefan Weil
0fc73b2bbb
Fix typos found by codespell
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-02-08 17:52:45 +01:00
Michael Kaufmann (d00p)
0156c3a59d
few fixes in inline-css; added mail.log php.ini option and enabled it in default ini-config
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-10-31 09:14:28 +01:00
Frank Gehann
dc2b690fa4
session.auto_start needs to be a php_value since it gets passed a 0 or 1 and not on/off which causes the fpm to not start at all.
2014-10-30 13:55:56 +01:00
Michael Kaufmann (d00p)
332a6bc550
don't make the fpm-socket readable for all, fixes #1418
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-10-01 13:39:41 +02:00
Michael Kaufmann (d00p)
70a9ad2f3d
enhanced list of allowed php.ini-directives for php-fpm
2014-09-07 08:21:30 +02:00
schadowfox
1d27a27751
added php error log capabilities
...
not sure why this is missing in the default config, but with this you can once again have a error log for php files.
2014-09-05 23:26:48 +02:00
Michael Kaufmann (d00p)
9776624c32
honor max_children values for php-fpm
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-08-11 08:24:26 +02:00
Robin Kluth
7a8e345084
Removed unecessary 'start_servers' if pm = ondemand
...
http://www.php.net/manual/de/install.fpm.configuration.php#pm.start-servers
2014-05-25 12:01:16 +02:00
Michael Kaufmann (d00p)
558108008a
more implementing of new Settings class, refs #1325
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-12-15 12:40:24 +01:00
Michael Kaufmann (d00p)
06cff22caa
allow custom sendmail_path value in php.ini when using php-fpm, fixes #1323
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-12-12 14:27:24 +01:00
Michael Kaufmann (d00p)
2853d6e1a4
added possibility to enable slowlog for fpm-users in the php-config (domain based logs), fixes #1051
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-12-03 11:14:32 +01:00
seidler2547
dfeefc2e6f
add session gc vars to configurable values
...
session.gc_divisor and session.gc_probability are needed e.g. for Horde to work correctly
2013-12-03 08:52:05 +01:00
Michael Kaufmann (d00p)
e25597106e
make fpm socket directory a setting, fixes #1300
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-14 09:29:55 +01:00
Michael Kaufmann (d00p)
6a2b81bc17
read open_basedir value properly from php.ini template, thx to s_v_e_n
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-11 12:42:50 +01:00
Michael Kaufmann (d00p)
fa5f1900f0
add trace to database error-log-message (it just helps a lot finding the error); fixed queries in fpm und fcgid class; minor cosmetic changes
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-08 08:54:44 +01:00
Michael Kaufmann (d00p)
8a9ed3d9f1
change pexecute tp pexecute_first in phpinterface-classes
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-06 10:52:20 +01:00
Michael Kaufmann (d00p)
849da2a423
migrate phpinterface-classes to PDO database class, refs #1287
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-06 09:11:26 +01:00
Michael Kaufmann (d00p)
93ba24374b
move a long, these are not the changes you are looking for
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-28 10:44:59 +02:00
Tilman Klaeger (tilman19)
fd3852da68
php-fpm in ondemand mode keeps php process as long alive as set in
...
php_fpm_idle_timeout to prevent reload on every call when setting
startup_servers to 0
tilman19 <tilman@3c7.de >
2013-09-28 03:43:49 +02:00
Michael Kaufmann (d00p)
b7a4b69ee0
enhance php-fpm configuration options to use custom-ini-settings, refs #587
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-07-05 10:54:52 +02:00
Michael Kaufmann (d00p)
272de00af2
php-fpm--config 'log_errors_max_len' belongs to php_value and not php_flag, fixes #1241
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-07-04 19:03:06 +02:00
Michael Kaufmann (d00p)
68fb822160
give possibility to change php.ini-values for fpm-pool configurations (only pre-defined sections are possible for now), refs #587
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-07-03 11:34:34 +02:00
Michael Kaufmann (d00p)
e6816c12ef
php-fpm sanity checks if pm='dynamic' or pm='ondemand', fixes #955
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-03-07 15:50:22 +01:00
Michael Kaufmann (d00p)
a048cd96b1
implement php-fpm process-manager 'ondemand', fixes #1035
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-03-07 15:40:07 +01:00
blackice2999
173e40b0e4
added new config option for php fpm fixes #1089
2012-05-08 23:12:51 +02:00
blackice2999
1e68766b54
fixes own error... we need later a cleanup
2012-05-08 16:56:03 +02:00
Christoph Burchert (Chb)
ca2a8c9907
Security fix: unescaped commandline argument (thanks to Bernhard Czech (sinuswave))
...
Signed-off-by: Christoph Burchert (Chb) <derchb@froxlor.org >
2011-09-05 14:31:03 +02:00
Andreas Burchert (scarya)
79f5ff4d35
Used correct function to create tmpdir, fixes #846 @0h5m
...
Thanks to sreimers.
2011-08-07 15:49:40 +02:00
Andreas Burchert (scarya)
51a83d8b09
Removed @version in file header. This isn't used by git.
2011-05-04 11:59:20 +02:00
Michael Kaufmann (d00p)
f4b6d9930f
- respect domain openbasedir settings when using php-fpm, fixes #562
...
- various improvements/cleanings in the gentoo configfiles array
2011-01-26 09:44:09 +00:00
Michael Kaufmann (d00p)
66b274c1bf
- fine-tune php-fpm-config, create tmp-folder if not exists, refs #524
2010-12-21 13:15:26 +00:00
Michael Kaufmann (d00p)
0fd11afdcb
use makeCorrectDir() to output sane path
2010-12-10 12:16:03 +00:00
Michael Kaufmann (d00p)
59bf7ba22f
- restore still used settings in 120.system.php
...
- check for $createifnotexists in phpinterface_* classes
2010-12-07 11:08:41 +00:00
Michael Kaufmann (d00p)
9c075c05f5
- don't create standard-openbasedir config for froxlor-panel vhost
2010-12-06 09:17:48 +00:00
Michael Kaufmann (d00p)
6815501c1d
- use local-username for froxlor in fpm-config, because froxlor.panel is only the directory/loginname
2010-12-06 09:00:53 +00:00