Project

General

Profile

Actions

Feature #13377

open

Option to configure a custom value for the PHP memory limit

Added by Christopher Cope 2 months ago. Updated about 2 months ago.

Status:
Pull Request Review
Priority:
Low
Category:
PHP Interpreter
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.11
Release Notes:
Default

Description

There are several cases where the default memory limit used for PHP is being hit and where the system has plenty of extra RAM. In these cases, it would make sense to be able to adjust the limit as needed.

For instance, with an extremely large status_output, a large number of nested aliases, etc.


Files

Actions #3

Updated by Christopher Cope about 2 months ago

The change only applies to the PHP used directly by pfSense, as they are set with config.inc.

For testing you can use

<?php
require_once("/etc/inc/config.inc");

echo ini_get("memory_limit");

?>

That inc will be loaded automatically inside pfSense. Also there is no need for a reboot for it to take effect.

Actions #4

Updated by Lev Prokofev about 2 months ago

Got it and checked, working as expected.

Actions #5

Updated by Jim Pingle about 2 months ago

  • Subject changed from Allow adjusting the PHP memory_limit in System -> Advanced to Option to configure a custom value for the PHP memory limit
  • Target version set to 2.7.0
  • Plus Target Version set to 22.11
Actions

Also available in: Atom PDF