Remove unused set_time_limit in php.ini
Actually reflect the right timeout values for redmine ticket #2552
Set the date.timezone from the XML directly when we setup PHP to prevent messagesAdjust the timeouts to something more sane then 99999999. Do note that these might need to be adjusted later.Also note that most of these are not applicable when used from the CLI....
CP Radius accounting wants bcmod() so we need to activate bcmath.
add autocomplete to load_balancer_pool_edit.php (PEV-394754)
we also enable the json extension here.
Respect ['upload_path'] for upload_tmp_dir for PHP
Update etc/rc.php_ini_setup
dl(), which is used by PEAR, is deprecated in 5.3 and fails to thus load this extension. No updates to PEAR either, so we can either always load like here or mod PEAR.inc. Should fix #2336
Adjust the ordering so that our modules load properly.The order appears to be important in which we load the modules
Turn off suhosin in hunt for #2214
Crank up debug logging to help gear up for #2214
Bump upload size to 128mb, the firmware updates (at least for now while testing) are a bit too large for the old value.
Change from mhash to hash module, mhash is depreciated.
Do not set EXTENSIONSDIR twice
Nuke extra C/R
Test for newer 20090626 PHP_EXT_DIR
- Added support for MSCHAPv2, MSCHAPv1 and CHAP_MD5 to captive portal- Corrected bug in javascript funtion enable_change(enable_change)
force a set path for ioncube loader
fixed corrected name of ioncube module
fix correct name
Correct ts filename
Revert "Only load modules once"
This reverts commit 00b9730d6fe20272a40e707b709e677a847b7863.
Only load modules once
Adding ioncube_loader
Remove extra "/"
Create dynamodules in the order they where touched
Oops use ;
Show errors.
Use error log and log errors to /tmp/PHP_errors.log
Set extension name correctly.. Duh!
Fix copy and pasto
Add extension directory
Use correct directory
mkdir zend modules
Add 'dynamodules' for zend_extension and zend_extension_ts. /etc/php_dynamodules_zend and /etc/php_dynamodules_zend_ts directories
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