Commit Graph

69 Commits

Author SHA1 Message Date
Scott Ullrich
b9bc333b44 Increase suhosin maximum memory to avoid this error: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/etc/inc/config.inc', line 59) 2010-11-26 18:06:07 -05:00
Ermal
51d0f81698 Use full path to command binaries. 2010-11-23 11:32:22 +00:00
Scott Ullrich
fea0988640 Revert 2010-11-09 11:26:33 -05:00
Scott Ullrich
5626a349b3 Set session.use_trans_sid to true 2010-11-09 10:28:44 -05:00
Ermal
5556f3a116 Do not use the \ based list for modules because it treats even the comments as modules. Simplify logic and make sure php.ini exists in both paths when needed. 2010-09-15 12:37:31 +00:00
Ermal
4f1bace50d Ticket #777. Allow long length of variables content to make happy suhosin(whoever he his)! 2010-08-31 15:31:53 +00:00
Scott Ullrich
80a2fedfc5 Ensure php.ini is not found before setting up php 2010-08-30 13:30:36 -04:00
Scott Ullrich
59218e2212 Do not use APC on cli 2010-08-23 17:11:36 -04:00
Scott Ullrich
7030262c70 Take into account capital letters in the module name such as S in pfSense 2010-08-22 21:45:01 -04:00
Scott Ullrich
90108d9044 Fix a rather annoying bug where case would cause a module to not be detected as being loaded such as SQLite 2010-08-22 21:36:09 -04:00
Scott Ullrich
52e65de17f Adjust ordering a bit 2010-08-22 21:22:44 -04:00
Scott Ullrich
0bf8097030 Load spl 2010-08-22 18:17:14 -04:00
Scott Ullrich
bdf6ac75ae Include sqlite and pdo. See http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround which I have no desire to add intelligdent to php_ini_setup. Overhead is negligible 2010-08-22 18:12:28 -04:00
Scott Ullrich
7a14caf046 Fix tab (whitespace) 2010-08-20 21:15:39 -04:00
Scott Ullrich
e929c92553 Adding zmq 2010-08-16 10:31:41 -04:00
Scott Ullrich
96e04209ef Set 96 megabytes to 5 meg of cache 2010-07-30 20:27:23 -04:00
Scott Ullrich
1e86e8970e Use more conservative apc memory values 2010-07-30 20:24:44 -04:00
Scott Ullrich
5778e859e9 Update to 2010 2010-07-30 20:19:26 -04:00
Scott Ullrich
8ee1dc80e7 Do not load apc module when under low memory situations 2010-07-30 20:17:48 -04:00
Scott Ullrich
21a6662ca7 Use 97 megabytes, apc is not a module so do not set 2010-07-30 20:12:11 -04:00
Scott Ullrich
cddedb4083 Ensure apc is disabled by setting to 0. Also enable suhosin php support for < 65 megabytes of ram, too 2010-07-30 20:11:08 -04:00
Scott Ullrich
b713d7900f Use hw.physmem when other methods fail 2010-05-23 16:12:27 -04:00
smos
839cad07a3 Improve the parsing of the memory value, use the reported amount of bytes, divide to get megabytes and get the 1st result. Ticket #526 2010-05-14 15:06:48 +02:00
Ermal
a669395c5f Enable even xmlwriter module. 2010-05-06 16:35:30 +00:00
Ermal
a8e6134661 Fix editing large aliases. Suhosin patch has by default a limit of 64 variables. 2010-03-18 23:21:40 +00:00
Ermal
8eae944eb5 Enable shmop module now that is needed. 2010-03-18 17:04:52 +00:00
Ermal Luçi
b1b86db7a5 Remove comment to avoid creating 2 entries in php.ini for no apparent reason but have not time to investigate further. 2010-02-12 13:08:51 +00:00
Ermal Luçi
b8e3b04340 Ticket #255. Activate pfSense module to get the helper functions. 2010-02-11 15:06:21 +00:00
Scott Ullrich
c720fffc94 Set set_time_limit 2010-01-21 19:22:30 -05:00
Seth Mos
0d60f50a23 Simplify and fix available memory calculation to fix shell script errors on boot.
Fix spelling error in comment
2009-12-03 15:58:36 +01:00
sullrich
9444761e57 Turn off compression for time being. Ticket #198 2009-11-30 13:57:06 -05:00
sullrich
07b1797b45 Define full path to binaries 2009-11-29 18:33:24 -05:00
Scott Ullrich
16058a05ea Add back mbstring for firewall_rules_edit 2009-11-22 20:14:26 -05:00
Scott Ullrich
be1db1d338 Document known module purpouses: 2009-11-22 19:56:09 -05:00
Scott Ullrich
fca48a659f Add back ctype and document what its for 2009-11-22 19:53:27 -05:00
Scott Ullrich
d4ac1b8898 We need mhash for the user manager 2009-11-21 22:51:05 -05:00
Scott Ullrich
7f16265af9 Ensure dynamodules directory exists 2009-11-21 18:44:35 -05:00
Scott Ullrich
fcdf949220 Fix spelling mistake 2009-11-21 18:37:19 -05:00
Scott Ullrich
80d887d1ef Note modules no longer included by default. If a module is needed simply touch /etc/php_dynamodules/$modulename 2009-11-21 18:34:53 -05:00
Scott Ullrich
c44417f85c Include captiveportal for captiveportal_radius_stop_all() 2009-11-21 18:30:00 -05:00
Scott Ullrich
47eee8fabe Use dmesg -a when /var/log/dmesg.boot is not available 2009-11-21 18:07:43 -05:00
Scott Ullrich
f82be9e4ec Set default size for apc shm to 10 megs for < 128 2009-11-21 16:18:04 -05:00
Scott Ullrich
2b11ff4db0 Calculate PHP APC SHM size according to memory detected 2009-11-21 16:14:25 -05:00
Renato Botelho
dee5d2fbfc Ensure nanobsd save tmp files under /root 2009-08-12 15:50:42 -03:00
Ermal Luçi
caea0c4756 Add xmlreader module to the list of modules used on pfSense. 2009-08-12 17:55:48 +00:00
Scott Ullrich
8c73ff0c51 Adding sockets 2009-07-09 21:53:20 -04:00
Scott Ullrich
2779830353 Add suhosin module 2009-07-06 18:31:41 -04:00
Scott Ullrich
800b73e660 Handle nanobsd platform 2009-06-27 18:28:47 -04:00
Scott Ullrich
4b4271d324 Do not include shmop twice 2009-05-22 14:40:45 -04:00
Scott Ullrich
0444202097 Adding php libraries for CP locking 2009-05-21 12:16:55 -04:00