去下载一个最新版的php4.0.4pl1 for win32
解包后有详细的说明书install.txt

解决方案 »

  1.   

    IIS 4.0+ (isapi):
    1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
    edit it to fit your needs
    1.拷贝php.ini-dist到你系统的目录(你安装windows的目录),然后更名为php.ini,然后按照你的需要去编辑它。2. Start the Microsoft Management Console or the Internet Services Manager, located in your Control Panel
    2.在控制面板中打开你的Internet Services Manager3. Click on your webserver, and select properties
    3.点击你的webserver,然后选择属性4. If you don't want to perform HTTP Authentication using PHP, you can (and should) skip this step. Under ISAPI Filters,
    add a new ISAPI filter. Use PHP as the filter name, and supply a path to the php4isapi.dll
    4.如果你不需要使用php来进行http的认证功能,你可以省略这一步。在isapi筛选器,添加一个新的筛选器。使用php当作筛选器的名字,然后将路径指向php4isapi.dll的路径。5. Under Home Directory, click on the Configuration button. Add a new entry to the Application Mappings. Use the path the
    php4isapi.dll as the Executable, supply .php as the extension, leave Method exclusions, blank, and check the Script engine
    checkbox
    5.在主目录中。点击配置按钮,添加一个新的应用程序映射。设定可执行文件到php4isapi.dll的路径,扩展名填写.php,动作选择全部动作,脚本引擎打钩。点击确定6. Stop IIS completely
    6.停止IIS的服务
    7. Start IIS again
    7.重新开启IIS的服务这样就ok了