For fcgid:
1. copy /home/apache/tpl/php5.fcgi.tpl to /home/apache/tpl/custom.php5.fcgi.tpl
2. Open custom.php5.fcgi.tpl and change:
$maxchildren = '2';
$maxrequests = '500';
to (for example)
$maxchildren = '10';
$maxrequests = '1000';
3. run 'sh /script/fixphp'
Running 'sh /script/apache-optimize' only importance for mod_php/_ruid2/_itk.
For Php-fpm/_worker/_event, mod_php/_ruid2/_itk and suphp/_worker/_event have different ways.