O'Reilly logo

PHP 5 Social Networking by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Server performance

So far, we have looked at improving the performance of our code. Our code runs on services that are highly configurable, including Apache and MySQL, our PHP installation can also be customized through various configuration files. We can change the settings of these services too.

Apache

Our Apache configuration file (name and location depend on the setup of the server) contain settings related to how many connections can be accepted, timeout period, and so on.

The maximum number of clients who can connect to the server at any one time is set by the MaxClient Directive in the configuration file; this can be increased to allow more connections to the server, provided we have sufficient resources to allow this of course. More information ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required