Update the Copyright notice for pfSense.
Increase FPM process availability in high ram systems
To reduce chance of nginx gateway error when interacting with FPM backend, this patch does the following, starts up extra FOM server processes at startup, allows more to stay running on standby, increases automatic shutdown time from 5 seconds to one hour. On systems with a gig or more of ram
Merge pull request #3769 from PiBa-NL/20170626-phpfpm-status
Stop using pecl-ssh2
php-fpm, add status page for local usage from console/shell, this provides a way to check what scripts are currently running in the php-fpm processes.
For example the following can be executed from the local shell:` fetch --no-verify-hostname --no-verify-peer "https://localhost/status?full" -o - `
Deprecate nanobsd platform and remove all conditionals that uses it
Move copyright from ESF to Netgate
Uniformize memory limits and remove old code (revised)
1) Allow setting a memory_limit up to 768M (Suhosin)2) Remove old workarounds. Memory limits on config.inc will be new defaults
Add pear directory to PHP include_path. Ticket #3734
Remove workarounds to sort extensions.ini since ports tree now has a better solution in place to track PHP modules dependencies
Move to Apache License 2.0
Review license / copyright on all files (1st round)
Set request_terminate_timeout to the same as max_execution_time in case something executed externally doesn't respond, to avoid hanging up all of php-fpm eventually. Ticket #6318 among other similar potential issues.
Relax Suhosin to allow a 512M memory limit
Reduce log level for RELEASE versions. Fixes #6178
Revert part of 475f0b6db committed by accident
Stop processing when find it
Add missing PHP modules, it should fix #6041
Simplify logic
Ensure the extensions.ini has no duplications before setting up php.ini. Fixes #5943
Strengthen PHP session settings
See https://secure.php.net/manual/en/session.configuration.php#ini.session.hash-function
Revert maximum array depth (aka input nesting level) to default values
This is per default 50 in Suhosin (*.max_array_depth) and 64 in PHP (max_input_nesting_level)
Note: Array depth is not the number of elements within an array.
Increase max_input_vars
Since Suhosin has a configured limit of 5000 maximum input variables, for consistency, PHP should be configured with a similar setting (the default is just 1000). This will allow BIG forms to save without any problem in the future.
Rename php-fpm pool from lighty to nginx
Include www/classes and www/classes/Form in the PHP include path
Remove /usr/local/lib/php.ini, we don't need 2 copies of this
Introduce read_global_var:
- Add a new script, read_global_var, that returns the value of any item contained in global array $g- Replace all grep and sed magic from shell scripts
Introduce read_xml_tag.sh
Create /usr/local/sbin/read_xml_tag.sh, that will read a xml tag fromconfig file using xmllint. Replace all direct read using cat, grep, sed,... by this script
Fix #5220, setup PHP timezone:
- Get defined zoneinfo in the following order: - /var/db/zoneinfo - /cf/conf/config.xml - /etc/inc/globals_override.inc - /etc/inc/globals.inc
Consider globals_override.inc and replace hard coded pfSense string by product_name
Use PHP 5.6 extensions dir
Do not explicit add opcache to zend_extension, just enable or disable it
Remove ioncube references from php.ini, and set zend_extensions properly
Move opcache to zend_extensions
Move main pfSense content to src/