Skip to content

Commit f75c4a5

Browse files
committed
php.ini templates: Group dynamic extension related settings
1 parent dbf0102 commit f75c4a5

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

php.ini-development

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -770,22 +770,10 @@ doc_root =
770770
; https://php.net/user-dir
771771
user_dir =
772772

773-
; Directory in which the loadable extensions (modules) reside.
774-
; https://php.net/extension-dir
775-
;extension_dir = "./"
776-
; On windows:
777-
;extension_dir = "ext"
778-
779773
; Directory where the temporary files should be placed.
780774
; Defaults to the system default (see sys_get_temp_dir)
781775
;sys_temp_dir = "/tmp"
782776

783-
; Whether or not to enable the dl() function. The dl() function does NOT work
784-
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
785-
; disabled on them.
786-
; https://php.net/enable-dl
787-
enable_dl = Off
788-
789777
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
790778
; most web servers. Left undefined, PHP turns this on by default. You can
791779
; turn it off here AT YOUR OWN RISK
@@ -907,6 +895,18 @@ default_socket_timeout = 60
907895
; Dynamic Extensions ;
908896
;;;;;;;;;;;;;;;;;;;;;;
909897

898+
; Whether or not to enable the dl() function. The dl() function does NOT work
899+
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
900+
; disabled on them.
901+
; https://php.net/enable-dl
902+
enable_dl = Off
903+
904+
; Directory in which the loadable extensions (modules) reside.
905+
; https://php.net/extension-dir
906+
;extension_dir = "./"
907+
; On windows:
908+
;extension_dir = "ext"
909+
910910
; If you wish to have an extension loaded automatically, use the following
911911
; syntax:
912912
;

php.ini-production

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -772,22 +772,10 @@ doc_root =
772772
; https://php.net/user-dir
773773
user_dir =
774774

775-
; Directory in which the loadable extensions (modules) reside.
776-
; https://php.net/extension-dir
777-
;extension_dir = "./"
778-
; On windows:
779-
;extension_dir = "ext"
780-
781775
; Directory where the temporary files should be placed.
782776
; Defaults to the system default (see sys_get_temp_dir)
783777
;sys_temp_dir = "/tmp"
784778

785-
; Whether or not to enable the dl() function. The dl() function does NOT work
786-
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
787-
; disabled on them.
788-
; https://php.net/enable-dl
789-
enable_dl = Off
790-
791779
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
792780
; most web servers. Left undefined, PHP turns this on by default. You can
793781
; turn it off here AT YOUR OWN RISK
@@ -909,6 +897,18 @@ default_socket_timeout = 60
909897
; Dynamic Extensions ;
910898
;;;;;;;;;;;;;;;;;;;;;;
911899

900+
; Whether or not to enable the dl() function. The dl() function does NOT work
901+
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
902+
; disabled on them.
903+
; https://php.net/enable-dl
904+
enable_dl = Off
905+
906+
; Directory in which the loadable extensions (modules) reside.
907+
; https://php.net/extension-dir
908+
;extension_dir = "./"
909+
; On windows:
910+
;extension_dir = "ext"
911+
912912
; If you wish to have an extension loaded automatically, use the following
913913
; syntax:
914914
;

0 commit comments

Comments
 (0)