File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 8888 PHP to attempt to read &php.ini; from the root filesystem if it exists.
8989 </para >
9090 </note >
91- <para >
92- Using environment variables can be used in &php.ini; as shown below.
93- </para >
94- <para >
95- <example >
96- <title >&php.ini; Environment Variables</title >
97- <programlisting role =" ini" >
91+ <simpara >
92+ Environment variables can be referenced within configuration values
93+ in &php.ini; as shown below. As of PHP 8.3.0, a fallback value can
94+ be specified that will be used when the referenced variable is not
95+ defined.
96+ </simpara >
97+ <example >
98+ <title >&php.ini; Environment Variables</title >
99+ <programlisting role =" ini" >
98100<![CDATA[
99101; PHP_MEMORY_LIMIT is taken from environment
100102memory_limit = ${PHP_MEMORY_LIMIT}
103+ ; If PHP_MAX_EXECUTION_TIME is not defined, it will fall back to 30
104+ max_execution_time = ${PHP_MAX_EXECUTION_TIME:-30}
101105]]>
102- </programlisting >
103- </example >
104- </para >
106+ </programlisting >
107+ </example >
105108 <para >
106109 The &php.ini; directives handled by extensions are documented
107110 on the respective pages of the extensions themselves. A <link linkend =" ini" >list of
You can’t perform that action at this time.
0 commit comments