
Tune nginx for performance by setting worker processes and worker connections, enabling sendfile and tcp optimizations, and adjusting keepalive and gzip settings.
Configure PHP-FPM for high performance by adjusting dynamic process management. Set max children based on memory, start and spare servers, and tune memory limits to optimize scalability.
You too can create fast-running PHP apps that support millions of users. This course, will teach you tips and tricks for speeding up your PHP application. You'll start by learning about micro-optimizations at the code-level, moving on to how many child processes you should be running on your webserver and database options. Finally, you will learn about profiling your code and load testing your application, so you can be confident that it will perform well no matter how large your application becomes. By the end of this course, you'll be able to easily create and optimize PHP apps for speed.