CETBOR Posted November 26, 2006 Share Posted November 26, 2006 G'day!I'm having a big problem with PHP on IIS6PHP work fine on this folder c:\Inetpub\wwwroot with no errors but won't work other folder such as c:\WWW\lan or any folders. I have tried other folders and I got error with Permission Denied. Annoyed me!Can you help me? what have I done wrong?I have followed the instruction on this website with MYSQL and PHPhttp://www.zdnetasia.com/techguide/webdev/0,39044903,61960072,00.htmRoberto Quote Link to comment https://forums.phpfreaks.com/topic/28564-php-only-work-on-this-folder/ Share on other sites More sharing options...
trq Posted November 26, 2006 Share Posted November 26, 2006 This is because c:\Inetpub\wwwroot is your web root. Your sites need to be contained within this directory. Quote Link to comment https://forums.phpfreaks.com/topic/28564-php-only-work-on-this-folder/#findComment-130687 Share on other sites More sharing options...
CETBOR Posted November 27, 2006 Author Share Posted November 27, 2006 IS there other way because I will have two or three domains to run from my server and all sites will be in seperate folders Quote Link to comment https://forums.phpfreaks.com/topic/28564-php-only-work-on-this-folder/#findComment-130740 Share on other sites More sharing options...
mainewoods Posted November 27, 2006 Share Posted November 27, 2006 your issue is a web server set up issue - not a php issue. php only runs where the IIS config tells it the web root is and below that. To run multiple web sites off of that you will have to consult an IIS message board - if there is such a thing. Quote Link to comment https://forums.phpfreaks.com/topic/28564-php-only-work-on-this-folder/#findComment-130813 Share on other sites More sharing options...
wildteen88 Posted November 27, 2006 Share Posted November 27, 2006 You'll probably want to set up a virtual host in IIS control panel for each domain. But yeah this is a server configuration issue.I'll move this to the IIS support forum for you. Quote Link to comment https://forums.phpfreaks.com/topic/28564-php-only-work-on-this-folder/#findComment-131069 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.