Clb Posted January 8, 2008 Share Posted January 8, 2008 High All, I am a little new to PHP so here goes. I am running Win Server 2003 r2 and IIS 6. PHP test files and mysql test connect files work fine from C:\inetpub\wwwroot I have a main web site in inetpub\wwwroot and several virtual sites that store and run from E:\**** If I place the PHP test file or mysql test connect files in the virtual home directories none work? I'm sure this is simple, but have drew a blank? Thank for any help and suggestions. Craig Quote Link to comment https://forums.phpfreaks.com/topic/85089-php-files-location-on-server/ Share on other sites More sharing options...
Cep Posted January 23, 2008 Share Posted January 23, 2008 The answer is simple, your "virtual sites" are not part of your web server therefore PHP will not be parsed in them by your web server. Either move the "virtual sites" to your web server root directory (wwwroot) or configure IIS to point to one of them (and then no longer have access to your other sites). Quote Link to comment https://forums.phpfreaks.com/topic/85089-php-files-location-on-server/#findComment-446943 Share on other sites More sharing options...
DK_Sun Posted February 5, 2008 Share Posted February 5, 2008 Actually, all you need to do is make sure that each of your "Virtual Host" setup in IIS has loaded the PHP ISAPI extention into the "ISAPI Filters" section. Then make sure the php5isapi.dll file is allowed to be run in the "Web Service Extensions". Also don't for get to add the .php mapping to the "Application Configuration" area. (Located under the Home Document tab.) Quote Link to comment https://forums.phpfreaks.com/topic/85089-php-files-location-on-server/#findComment-458444 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.