Include conf/extra/httpd-php.conf
httpd-php.conf:
LoadModule fcgid_module modules/mod_fcgid.so
<IfModule fcgid_module>
Include conf/extra/httpd-fcgid.conf
FcgidInitialEnv PHPRC "D:/php/php-7.0.12-nts/"
AddHandler fcgid-script .php
FcgidWrapper "D:/php/php-7.0.12-nts/php-cgi.exe" .php
</IfModule>
httpd-fcgid.conf:
FcgidIOTimeout 384
FcgidConnectTimeout 360
FcgidOutputBufferSize 128
FcgidMaxRequestsPerProcess 1000
FcgidMinProcessesPerClass 0
FcgidMaxProcesses 16
FcgidMaxRequestLen 268435456
ProcessLifeTime 360
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000