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/