php-cgi.exe 占用cpu过高,求高手解决。

2026年09月24日 10:06
有2个网友回答
网友(1):

用Module吧~~~在php目录中install.txt里有。
使用Apache设置。
LoadModule php4_module "c:/php/php4apache2.dll"
# Don't forget to copy the php4apache2.dll file from the sapi directory!
AddType application/x-httpd-php .php

# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"

网友(2):

如果是windows服务器,就使用ISAPI