PHP Scalability with NSAPI
The following table shows the Web Server tuning settings for the PHP with NSAPI test.
TABLE 6–14 NSAPIPlug-in Congurationfor PHP
magnus.conf Init fn="load-modules" shlib="libphp5.so"
funcs="php5_init,php5_close,php5_execute"
Init fn="php5_init" errorString="PHP Totally Blew Up!"
obj.conf NameTrans fn="pfx2dir" from="/php-nsapi"
dir="path_to_php_script_dir" name="php-nsapi" <Object
name="php-nsapi"> ObjectType fn="force-type"
type="magnus-internal/x-httpd-php" Service fn=php5_execute
</Object>
mime.types type=magnus-internal/ws-php exts=php,php3,php4
The following table shows the results of the PHP with NSAPI test.
Number of cores
PHP Scalability With Fast CGI
2000
2100
2400
2300
2200
2500
1900
1800
1700
1600
1500
1400
1300
1200
1100
1000
900
800
2
46
Throughput(ops/sec)
Throughput
PerformanceTests andResults
Chapter6 • Scalability Studies 117