Jump to content

PHP+iis7, virutal directories and "include"


joe_coolish

Recommended Posts

Hello, it's been a while since I've been here.  I recently started to program in PHP again, and I'm finding a strange thing is happening.

 

I'm using NetBeans 6.8 to do my PHP (if there is another free IDE out there that is better, I'd love to know about it) and I have the project setup so that when I debug, it will use the URL http://localhost/netbeans/testProject/index.php?XDEBUG_SESSION_START=netbeans-xdebug which runs and all is well.

 

In IIS7, 'netbeans' is a virtual directory that points to my netbeans project folder and 'testProject' is a folder inside of the 'netbeans' virtual directory.

 

My problem is with the "include" statement.  When I run index.php, none of the includes are included!  I've tried both local and full pathnames, and even the URL for the file.  Nothing seems to work!  Is there anything I need to try? (p.s. I'm using php 5.3.1)

 

Thanks for any help :)

Link to comment
https://forums.phpfreaks.com/topic/190957-phpiis7-virutal-directories-and-include/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.