Remove ioncube
Adding ioncube
Include ssh2 module if available
Turn back off zlib compression
Turn zlib compression back on. Tested by and reminded by Pierre Pomes. Ticket #198 ... Apparently lighttpd was not compressing the php pages so this should be turned back on according to Pierre Pomes (and tested by him).
Fix PHP warning related to recent update of apc extension.
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)
Use full path to command binaries.
Revert
Set session.use_trans_sid to true
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.
Ticket #777. Allow long length of variables content to make happy suhosin(whoever he his)!
Ensure php.ini is not found before setting up php
Do not use APC on cli
Take into account capital letters in the module name such as S in pfSense
Fix a rather annoying bug where case would cause a module to not be detected as being loaded such as SQLite
Adjust ordering a bit
Load spl
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
Fix tab (whitespace)
Adding zmq
Set 96 megabytes to 5 meg of cache
Use more conservative apc memory values
Update to 2010
Do not load apc module when under low memory situations
Use 97 megabytes, apc is not a module so do not set
Ensure apc is disabled by setting to 0. Also enable suhosin php support for < 65 megabytes of ram, too
Use hw.physmem when other methods fail
Improve the parsing of the memory value, use the reported amount of bytes, divide to get megabytes and get the 1st result. Ticket #526
Enable even xmlwriter module.
Fix editing large aliases. Suhosin patch has by default a limit of 64 variables.
Enable shmop module now that is needed.
Remove comment to avoid creating 2 entries in php.ini for no apparent reason but have not time to investigate further.
Ticket #255. Activate pfSense module to get the helper functions.
Set set_time_limit
Simplify and fix available memory calculation to fix shell script errors on boot.Fix spelling error in comment
Turn off compression for time being. Ticket #198
Define full path to binaries
Add back mbstring for firewall_rules_edit
Document known module purpouses:
Add back ctype and document what its for
We need mhash for the user manager
Ensure dynamodules directory exists
Fix spelling mistake
Note modules no longer included by default. If a module is needed simply touch /etc/php_dynamodules/$modulename
Include captiveportal for captiveportal_radius_stop_all()
Use dmesg -a when /var/log/dmesg.boot is not available
Set default size for apc shm to 10 megs for < 128
Calculate PHP APC SHM size according to memory detected
Ensure nanobsd save tmp files under /root
Add xmlreader module to the list of modules used on pfSense.
Adding sockets
Add suhosin module
Handle nanobsd platform
Do not include shmop twice
Adding php libraries for CP locking
Add json
Add openssl php extension
Make rc.php_ini_setup smarter by testing final list of php modules forloading errors. If a module did not load remove it from php.ini andadd the load error to /var/run/php_modules_load_errors.txt
Remove sqlite for now until undefined symbol error can be resolved.
Test modules correctly
Do not alert for unfound modules
Set upload directory to /root for embedded
Do not return empty rows when probing loaded php modules
Do not remove old php.ini files, they will be replaced.
s/.so//
Add mysql.so and sqlite.so
Remove platform check. Even CDROM platform has unionfs now on RELENG_1
Include apc.so extension
Include all the modules we need.
Move php.ini setup to its own file