Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2005
    Posts
    74
    Thanks
    0
    Thanked 1 Time in 1 Post

    Question 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...
    Thanks,

  • #2
    Codeasaurus Rex
    Join Date
    Jun 2008
    Location
    Redmond, WA
    Posts
    660
    Thanks
    31
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •