Skip to content

Commit 3559ad1

Browse files
committed
Minor changes in php ini for security.
1 parent 5885487 commit 3559ad1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/deb/php/php.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ serialize_precision = -1
311311
; This directive allows you to disable certain functions for security reasons.
312312
; It receives a comma-delimited list of function names.
313313
; http://php.net/disable-functions
314-
disable_functions =
314+
disable_functions = disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,passthru,system,proc_open,popen,show_source
315315

316316
; This directive allows you to disable certain classes for security reasons.
317317
; It receives a comma-delimited list of class names.
@@ -587,7 +587,7 @@ html_errors = On
587587

588588
; The syslog ident is a string which is prepended to every message logged
589589
; to syslog. Only used when error_log is set to syslog.
590-
;syslog.ident = php
590+
syslog.ident = hestia-php
591591

592592
; The syslog facility is used to specify what type of program is logging
593593
; the message. Only used when error_log is set to syslog.
@@ -1062,7 +1062,7 @@ sendmail_path=sendmail -t -i
10621062
;mail.force_extra_parameters =
10631063

10641064
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
1065-
mail.add_x_header = Off
1065+
mail.add_x_header = On
10661066

10671067
; The path to a log file that will log all mail() calls. Log entries include
10681068
; the full path of the script, line number, To address and headers.

0 commit comments

Comments
 (0)