我在apache\htdocs中放入一个txt文件,然后在ie地址栏里能打开

解决方案 »

  1.   

    另外:php.ini中的extension_dir项,下面哪种写法是对的
    extension_dir = "c:/php/extensions"
    extension_dir = c:/php/extensions"
    extension_dir = "c:\php\extensions"
    extension_dir = c:\php\extensions"
      

  2.   

    php版本是:php-4.3.10-Win32,装在c盘下,
    ------------------
    上面你说你的php装在C盘,但你在apache的配置里写的是ScriptAlias /php/ "D:/Apache Group/php5/"
    这样当然不行:
    ScriptAlias /php4b3/ "C:/PHP4B3/" 
    Action application/x-httpd-php3 "/php4b3/php.exe" 
    其中的两个PHP4B3改成你的php在c盘的安装目录
      

  3.   

    修改apache的配置文件正确后重起apache
      

  4.   

    楼上,我改成这样的也不行:
    ScriptAlias /php/ "C:/PHP/" 
    Action application/x-httpd-php "/php/php.exe" 这个也一样:
    ScriptAlias /php/ "C:/PHP/" 
    Action application/x-httpd-php3 "/php/php.exe" 还有这个:
    ScriptAlias /php/ "C:/PHP/" 
    Action application/x-httpd-php4 "/php/php.exe" 服务我重起了!!