Add a setting for PHP memory limit in System -> Advanced. Feature #13377
Update copyright years to include 2023
Make php stdout and stderr less verbose for nonfatal messages
Add php81 extensions dir path
Update the Copyright year of the files owned by Rubicon/Netgate.
Initial commit of useful dependencies provided by Composer
Fix #12060: Remove ZeroMQ support
Moved web include files from /etc/inc/web to /usr/local/pfSense/include/www
Update the Copyright year.
A subsequent commit will deal with .po's.
Include files used to provide logic for web pages now moved to /etc/inc/web
Remove deprecated hash module
Upgrade PHP to 7.4.x
rc.php_ini_setup: Replace backticks by $()
This is 2020. Issue #9245
Use full path for pkg-static
Fix #9873: Use pkg-static
When pkg repo points to a new major version pkg is updated, usepkg-static binary to check PHP version and make sure the command works
Fix copyright message years to reflect BSDP -> ESF -> Netgate
Add support for PHP 7.3.x
Remove PHP 5.x support
Change CRL generation to a pure PHP implementation which works with PHP 7.2 (and 5.6)
The old OpenSSL CRL patch we had been using does not work with 7.2, and this way alsoopens up some new possibilities for enhancing the CRL settings we can offer in the...
Disable suhosin on PHP 7
Prepare to load extensions from PHP 7.2
Remove Whitespace
I'm aware this is a very large commit. Let me know if you'd rather have it broken down by file type (ie: PHP/shell scripts) so it would be easier to review.
-RJ
Silence warnings generated by sysctl to standard error.
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/