Hello to all,
Question to any who might help me understand:
I have a Windows 2003 (Web Version) Server with PHP5 installed. With multiple web Sites. Everything runs great. But, I would like to set up multiple web sites, example:
mydomain1.com
mydomain2.com etc
where they can all run the same version PHP except I would like to have the include folder for
mydomain1.com be set to c:\somedir\include1
mydomain2.com be set to c:\somedir\include2
I use the php5asapi.dll driver
So my thinking is to install PHP as normal
but then create 2 seperated directories with only the following
c:\domain1
--- php5asapi.dll
--- php.ini
c:\domain2
--- php5asapi.dll
--- php.ini
and have domain1.com mapped to c:\domain1\php5asapi.dll
and then domain2.com mapped to c:\domain2\php5asapi.dll
and then would they each read the php.ini file from within their own directory? Where I could configure the php.ini seperatly for each?
I hope that makes sense
or is my thinking totally deranged in this thought process?
Thanks
Question to any who might help me understand:
I have a Windows 2003 (Web Version) Server with PHP5 installed. With multiple web Sites. Everything runs great. But, I would like to set up multiple web sites, example:
mydomain1.com
mydomain2.com etc
where they can all run the same version PHP except I would like to have the include folder for
mydomain1.com be set to c:\somedir\include1
mydomain2.com be set to c:\somedir\include2
I use the php5asapi.dll driver
So my thinking is to install PHP as normal
but then create 2 seperated directories with only the following
c:\domain1
--- php5asapi.dll
--- php.ini
c:\domain2
--- php5asapi.dll
--- php.ini
and have domain1.com mapped to c:\domain1\php5asapi.dll
and then domain2.com mapped to c:\domain2\php5asapi.dll
and then would they each read the php.ini file from within their own directory? Where I could configure the php.ini seperatly for each?
I hope that makes sense
or is my thinking totally deranged in this thought process?
Thanks