Re: doesent work : WINNT with PHP4+Apache 1.3.12

From: Date: Thu, 17 Aug 2000 21:46:47 +0000
Subject: Re: doesent work : WINNT with PHP4+Apache 1.3.12
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-1935@lists.php.net to get a copy of this message
Herbert: Try this... httpd.conf -- ScriptAlias /cgi-bin/ "d:/wwwroot/cgi-bin/" ScriptAlias /php4/ "c:/php4/" AddType application/x-httpd-php .php3 .php4 .php Action application/x-httpd-php "/php4/php.exe" php.ini -- should be fine, the only difference is that I have the setting doc_root = ; default = Apache's DocumentRoot and I place my php scripts in the same directories that I have my other html files. Hope this helps, Pablo Vera _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Wednesday, August 16, 2000, 5:54:44 PM, you wrote: HK> Hi, HK> OS: WINNT 4.0 SP6 HK> The Apache 1.3.12 is running fine. HK> Then I installed PHP4 in c:\php4 . HK> I did some modifications in php.ini (it resides in C:\WINNT): HK> doc_root=d:\wwwroot\cgi-bin (that's my localhost bin_dir directory) HK> extension_dir=c:\php4 (that's where php.exe resides) HK> I also did some modifications in httpd.conf from Apache: HK> ScriptAlias /cgi-bin/ "d:/wwwroot/cgi-bin/" HK> AddType application/x-httpd-php .php3 HK> Action application/x-httpd-php "C:/php4/php.exe" HK> Every time I try to call a php page in my browser (like HK> http://localhost/test.php3) I get the error: "The page HK> cannot be found" HK> What's wrong ?? HK> I'm totally confused ! HK> Thanks a lot !

« previous php.windows (#1935) next »