Alias problem on windows 2000

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pete
Forum Newbie
Posts: 3
Joined: Sat Jun 21, 2003 1:48 pm

Alias problem on windows 2000

Post 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
pete
Forum Newbie
Posts: 3
Joined: Sat Jun 21, 2003 1:48 pm

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

as stated in install.txt
(you can do it by the book ..eh.. install.txt ;) )
pete
Forum Newbie
Posts: 3
Joined: Sat Jun 21, 2003 1:48 pm

Post 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?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

what does icq have to do with anything?
that's just my signiture ;)
Post Reply