将   php4ts.dll   拷贝到  C:\WINNT\system32 下面

解决方案 »

  1.   

    如果确实已经把php4ts.dll COPY到你的 C:\WINNT\system32 或者c:\winnt下了,并且c:/php/sapi/php4apache2.dll  这个文件确实存在,我觉得你应检查一下,你的系统环境变量!
    在path中加上c:\winnt\system32或者c:\winnt祝你早日解决问题!
      

  2.   

    看看我写的这些,希望对你有帮助
    http://expert.csdn.net/Expert/TopicView1.asp?id=2995853
      

  3.   

    打开apache的配置文件httpd.conf增加下面的语句:(随便什么地方都可以,但要单独成行)
    scriptalias /php4/ "c:/php/"           
    addtype application/x-httpd-php4 .php
    addtype application/x-httpd-php4 .php3
    addtype application/x-httpd-php4 .php4
    action application/x-httpd-php4 "/php4/php.exe"
    directoryindex index.html
    directoryindex index.htm 
    directoryindex index.php 
    directoryindex index.php3 
    directoryindex index.php4 
    directoryindex index.asp
    就行了,很简单
      

  4.   

    今天第一次来这里发贴求助
    就获得这么多人的帮忙,真是太感动了,以后一定要常来这里
    晚上回去一一试下不过我感到的奇怪的是:
    它报的错误是,这个,是运行到这里的时候出错了
    报无法加载 php4_module c:/php/sapi/php4apache2.dll   找不到指定程序上面那些方法好些没又针对这个啊
    先回去试了再说深空的文章明天慢慢看了,今天肚子饿了,先回去了谢谢各位同道
      

  5.   

    参考了各位的意见
    用apache2还是失败
    后来我没办法换成apache1了
      

  6.   

    c:/php/sapi/php4apache2.dll
    确保c:/php/sapi/下有php4apache2.dll这个文件
    同时在c:/php/sapi/下还要有php4ts.dll这个文件