hi all!
i am running Apache 1.3.9 on WinNT4.0 --> thats working fine.
I downloaded the PHP4 and installed it as was instructed in readme file. i do have php.ini in c:\winnt and also in c:\winnt\system32
The changes i made to php.ini are:
include_path =
doc_root = d:\program files\apache group\apache\htdocs
user_dir =
;upload_tmp_dir =
upload_max_filesize = 2097152
extension_dir = d:\php
AND following libraries enabled:
extension=php_calendar.dll
extension=php_imap.dll
extension=php_ldap.dll
Then i have the following additions to httpd.conf of Apache server for PHP:
ScriptAlias /php/ "D:/php/"
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "D:/php/php.exe"
Now the problem is, when i try to run a simple PHP script, it gives me following error:
Bad Request
Your browser sent a request that this server could not understand.
Invalid URI in request GET /shianews/test.php3 HTTP/1.1
the test.php3 has the following contents:
<?php echo '<body>test</body>'; ?>
please if anyone can help me with this problem, i would really reaallyy reaalllyyyyy appreciate it 🙂
thanks,
Daarius....