# PHP Configuration - Help on Windows/IIS

**URL:** <https://forum.kirupa.com/t/php-configuration-help-on-windows-iis/213390>\
**Category:** programming\
**Created:** [January 19, 2007, 3:39am UTC](https://forum.kirupa.com/t/php-configuration-help-on-windows-iis/213390 "2007-01-19T03:39:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![opalcomp](https://avatars.discourse-cdn.com/v4/letter/o/7bcc69/32.png) [@opalcomp](https://forum.kirupa.com/u/opalcomp)\
**Post date:** [January 19, 2007, 3:39am UTC](https://forum.kirupa.com/t/php-configuration-help-on-windows-iis/213390/1 "2007-01-19T03:39:49Z")

</div>

I am new to PHP, and am running PHP on both Windows/IIS and on Linux/Apache. Please, no comments about the Windows/IIS…

It seems difficult for me to determine basic behavior of startup for a single domain. I want to set an auto\_prepend\_file value that applies only for one domain, not the whole server. I believe it is easy with Apache and that .htaccess is the right place. But, what is the equivalent in Windows? Is it a php.ini file in the web root of the domain? Or, the php.ini in the Windows main directory. I also worry that if I provide a php.ini in the domain web root it may nullify the php.ini in the Windows directory.

Any suggestions?
