Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
03-29-2009, 03:47 AM #1
- Join Date
- Jan 2005
- Thanked 1 Time in 1 Post
Issues running .php files in subfolders on WebProject? [PHP & IIS7]
I'm running IIS7 as a webserver for my PHP project, initially the project had a single index.php file (in the root of the web space) and everything was working fine.
Now I've important all these new PHP files (into the root) and created subfolder (/includes/) which contain a bunch of .PHP scripts which I "include" from my main index.php, oddly enough these don't seem to run...
I've asked around and a bunch of people mentioned setting "Execute Permissions is set to Scripts Only" in the Home Directory Tab... I beleive this is for an older version of IIS because with IIS7 I can't find anything like that ...
So, two quick questions
a) any clues what it could be? aside from permissions (which I find odd, I would have assumed any subdirectories to the webspace would be ok)
b) how do I add "scripts only" execute permissions?
Is there a way to debug/test this?
(note - I am running Microsoft Windows Vista 64b)
Any help/hints or ideas would be much appreciated...
03-29-2009, 04:24 AM #2
- Join Date
- Jun 2008
- Redmond, WA
- Thanked 100 Times in 94 Posts
Unfortunately I'm not very familiar with IIS so I personally won't be able to help you out there, hopefully someone else has the answer. If you're interested in just developing locally and you need a server I highly suggest WAMP Server. This will install Apache, PHP, and MySQL on your computer and is a great testing environment.
Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
My posts, comments, code, and suggestions reflect only my personal views.
Web Portfolio and Code Snippets: http://shanechism.com