-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move php.ini custom setup into /etc/php/sellyoursaas.ini
- Loading branch information
Showing
3 changed files
with
67 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
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,pcntl_unshare,passthru,shell_exec,system,proc_open,popen,dl,apache_note,apache_setenv,show_source,virtual | ||
|
||
post_max_size = 20M | ||
upload_max_filesize = 20M | ||
max_input_vars = 4000 | ||
|
||
memory_limit = 256M | ||
|
||
session.gc_maxlifetime = 7200 | ||
|
||
session.use_strict_mode = 1 | ||
session.use_only_cookies = 1 | ||
session.cookie_httponly = 1 | ||
session.cookie_samesite = Lax | ||
|
||
opcache.memory_consumption = 1024 | ||
opcache.max_accelerated_files = 100000 | ||
opcache.file_update_protection = 2 | ||
|
||
|
||
; Automatically add files before PHP document. | ||
; http://php.net/auto-prepend-file | ||
auto_prepend_file = /usr/local/bin/phpsendmailprepend.php | ||
|
||
; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). | ||
; http://php.net/sendmail-path | ||
sendmail_path = /usr/local/bin/phpsendmail.php | ||
|
||
; The path to a log file that will log all mail() calls. Log entries include | ||
; the full path of the script, line number, To address and headers. | ||
mail.log = /var/log/phpmail.log |