Connecting Tech Pros Worldwide Help | Site Map

Set Up PhP of IIS 5.1

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 10:35 PM
Mike Thomas
Guest
 
Posts: n/a
Default Set Up PhP of IIS 5.1

I am new to Php, not to programming. I am trying to set up Php and IIS so
that I can put all of the .html
and .php files into the folder e:\work\phpapp.

Php is installed correctly. When I put the file Journal.html and
JournalResp.php into c:\inetpub\wwwroot everthing works fine.

When I put these 2 files into e:\work\phpapp and try to open them with
Foxfire using localhost\journal.html, I get a file not found error.

In IIS I have made a virtual directory pointing to e:\work\phpapp, and have
set the doc_root in php.ini to e:\work\phpapp.

If I move journal.html to c:\inetpub\wwwroot, journal.html opens
correctly, but the call to JournalResp.php generates a 'no input file'
error.

So, how can I set up IIS/Php to find the files in e:\work\phpapp when I open
them using localhost?

Many thanks
Mike Thomas



  #2  
Old July 17th, 2005, 10:35 PM
Peter van Schie
Guest
 
Posts: n/a
Default Re: Set Up PhP of IIS 5.1

Mike Thomas wrote:
[color=blue]
> In IIS I have made a virtual directory pointing to e:\work\phpapp, and have
> set the doc_root in php.ini to e:\work\phpapp.
>
> If I move journal.html to c:\inetpub\wwwroot, journal.html opens
> correctly, but the call to JournalResp.php generates a 'no input file'
> error.
>
> So, how can I set up IIS/Php to find the files in e:\work\phpapp when I open
> them using localhost?[/color]

This seems more like an IIS issue than a PHP issue, but anyway....
What did you name your virtual directory pointing to e:\work\phpapp?
You should try browsing to
http://localhost/nameofyourvirtualdi...y/journal.html instead of just
http://localhost/journal.html.

--
http://www.phpforums.nl
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.