Page 1 of 1

Alias problem on windows 2000

Posted: Sat Jun 21, 2003 1:48 pm
by pete
php works fine in the apache root directory but when i create an alias to a folder on my D drive i get "No input file specified." when parsing any php.

I read some where i have to install the module or use a meta redirect on the first page, cause its a permission issue with IIs. Is this true and is there an easier way to get php alias to work with windows? If not could some plz explain what i need to do cause im a new to php/apache

Posted: Sat Jun 21, 2003 2:47 pm
by pete
While i was waiting for a reply i answered my own question. Here's what i did if someone else has the same problem they can benefit from my sweat.

1. added the following lines to the apache httpd.conf

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

2. copied php4ts.dll and php4apache.dll from php folder to C:\WINNT\system32

3. restarted apache server.

Posted: Sat Jun 21, 2003 7:15 pm
by volka
as stated in install.txt
(you can do it by the book ..eh.. install.txt ;) )

Posted: Sat Jun 21, 2003 8:39 pm
by pete
as stated in install.txt
(you can do it by the book ..eh.. install.txt )
i found my answer in another forum, which lead me to re-read the php intall.txt, there was a line in there that warned about the module method being unstable with IIS, reading further this warning applied only to win98 and older. that's why i initial didn't use this method.
http://www.catb.org/~esr/faqs/smart-questions.html
You have to state a reason in your icq authorization requests or they will be declined (all thanks to spam)
what does icq have to do with anything?

Posted: Sat Jun 21, 2003 9:41 pm
by volka
what does icq have to do with anything?
that's just my signiture ;)