Re: Installation (subdirectories): Apache/NT4.0/PHP4

From: Date: Fri, 17 Nov 2000 23:04:26 +0000
Subject: Re: Installation (subdirectories): Apache/NT4.0/PHP4
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3963@lists.php.net to get a copy of this message
hi your httpd.conf seems to be o.k.; i checked mine on nt4 (sp6, apache 1.3.14, php4.03pl1) > [..] >Apache /conf/httpd.conf with default/standard setup values: >a) ScriptAlias /php/ "D:/Programme/Php/" >b) AddType application/x-httpd-php .php >c) Action application/x-httpd-php "/php/php.exe" >Problem: >Only php files that are in htdocs/*.php can be normaly >executed/interpreted. >If I make a subdirectory like htdocs/examples/ and put *.php files there >and execute them than I receive: "HTTP 404: File not found" even >though the php file like "hello.php" is there. I installed PHP4 in three >Win2k systems, but until now with NT4.0 I never had problems >installing PHP4. i myself never encountered this problem, but my suggestion: 1.) have a look at the error log of apache. what says this? 2.) enable error log for php in php.ini to verify it isn`t a php problem 3.) ( a bit stupid, but sometimes problems are strange?!): try a script under htdocs, if succeed copy the same script under htdocs/examples 4.) to recieve more help, post your error log of apache, the php-sript you wanna ececute hope it helps friedhelm betz

« previous php.windows (#3963) next »