Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
27ec06bb
Unverified
Commit
27ec06bb
authored
Feb 26, 2018
by
Yu-Lung Shao (Allen)
Committed by
GitHub
Feb 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1371 from oysterprotocol/change-php-settings
Change php settings
parents
ca376935
6fe3dc75
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
7 deletions
+18
-7
app.conf.example
nginx/sites/app.conf.example
+2
-0
default.conf
nginx/sites/default.conf
+2
-0
laravel.conf.example
nginx/sites/laravel.conf.example
+2
-0
symfony.conf.example
nginx/sites/symfony.conf.example
+2
-0
laravel.ini
php-fpm/laravel.ini
+4
-1
php70.ini
php-fpm/php70.ini
+3
-3
php71.ini
php-fpm/php71.ini
+3
-3
No files found.
nginx/sites/app.conf.example
View file @
27ec06bb
...
...
@@ -18,6 +18,8 @@ server {
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fixes timeouts
fastcgi_read_timeout 600;
include fastcgi_params;
}
...
...
nginx/sites/default.conf
View file @
27ec06bb
...
...
@@ -18,6 +18,8 @@ server {
fastcgi_buffers
16
16
k
;
fastcgi_buffer_size
32
k
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
#fixes timeouts
fastcgi_read_timeout
600
;
include
fastcgi_params
;
}
...
...
nginx/sites/laravel.conf.example
View file @
27ec06bb
...
...
@@ -18,6 +18,8 @@ server {
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fixes timeouts
fastcgi_read_timeout 600;
include fastcgi_params;
}
...
...
nginx/sites/symfony.conf.example
View file @
27ec06bb
...
...
@@ -20,6 +20,8 @@ server {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fixes timeouts
fastcgi_read_timeout 600;
fastcgi_param HTTPS off;
}
...
...
php-fpm/laravel.ini
View file @
27ec06bb
...
...
@@ -4,10 +4,13 @@ log_errors=On
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit
=
128
M
memory_limit
=
256
M
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize
=
20M
; Sets max size of post data allowed.
; http://php.net/post-max-size
post_max_size
=
20M
max_execution_time
=
600
default_socket_timeout
=
3600
request_terminate_timeout
=
600
php-fpm/php70.ini
View file @
27ec06bb
...
...
@@ -380,7 +380,7 @@ expose_php = On
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time
=
3
0
max_execution_time
=
60
0
; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
...
...
@@ -390,7 +390,7 @@ max_execution_time = 30
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time
=
6
0
max_input_time
=
12
0
; Maximum input variable nesting level
; http://php.net/max-input-nesting-level
...
...
@@ -401,7 +401,7 @@ max_input_time = 60
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit
=
128
M
memory_limit
=
256
M
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
...
...
php-fpm/php71.ini
View file @
27ec06bb
...
...
@@ -380,7 +380,7 @@ expose_php = On
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time
=
3
0
max_execution_time
=
60
0
; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
...
...
@@ -390,7 +390,7 @@ max_execution_time = 30
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time
=
6
0
max_input_time
=
12
0
; Maximum input variable nesting level
; http://php.net/max-input-nesting-level
...
...
@@ -401,7 +401,7 @@ max_input_time = 60
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit
=
128
M
memory_limit
=
256
M
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment