Skip to content

Instantly share code, notes, and snippets.

@orvigas
Last active April 4, 2018 18:21
Show Gist options
  • Save orvigas/1546c688a1cb9b4b1665b14797d1201b to your computer and use it in GitHub Desktop.
Save orvigas/1546c688a1cb9b4b1665b14797d1201b to your computer and use it in GitHub Desktop.
Improve performance of WAMP server with Laravel 5.* API
This way helps to improve the performance of a WAMP server under Windows 10 64 bits, using Laravel 5.4 API
Changes:
httpd.conf
-EnableMMAP on
-EnableSendfile on
-Include conf/extra/httpd-mpm.conf
-AcceptFilter http none
-AcceptFilter https none
conf/extra/httpd-mpm.conf
Worker
-ThreadsPerChild 48
-ThreadLimit 48
php.ini
-;date.timezone = "UTC"(comment)
-realpath_cache_size= 4m
-max_execution_time = 60
-memory_limit = 256M (or whatever you want to use)
my.ini
-query_cache_size = 80M
-innodb_flush_log_at_trx_commit = 2 (in some cases generate weird behavior in mysql not well documented yet)
-skip-name-resolve
-skip-host-cache
-key_buffer_size = 256M
C:\Windows\System32\drivers\etc\hosts
127.0.0.1 localhost
127.0.0.1 127.0.0.1
# ::1 localhost (comment line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment