, , . , .
Failed requests: 68. apache, . , , , . VirtualHost -
LogLevel debug
CustomLog /var/log/apache2/access-localhost.log vhost_combined
ErrorLog /var/log/apache2/error-localhost.log
LogLevel debug . warn error .
php.ini php .
, apache2.conf , mpm. , :
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
, , 1 apache2 ( , Linux)
( 2 ) , . <? php echo 'Hello World!' ?>, PHP- . , apache . , .
, - concurrency , . concurrency .
ab -c1 -t60 http://sf2.cities.localhost/app.php
, google apache performance tuning ( MySQL ) mysql performance tuning