# PHP Change Drive Letter

**URL:** https://forum.kirupa.com/t/php-change-drive-letter/236957
**Category:** programming
**Created:** [August 25, 2007, 3:49pm UTC](https://forum.kirupa.com/t/php-change-drive-letter/236957 "2007-08-25T15:49:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tfoston](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tfoston/32/2516_2.png) [@tfoston](https://forum.kirupa.com/u/tfoston)
#### Post date: [August 25, 2007, 3:49pm UTC](https://forum.kirupa.com/t/php-change-drive-letter/236957/1 "2007-08-25T15:49:39Z")

</div>

I’m trying to access a couple of drives on the server outside of the wwwroot folder( I’m running winows IIS). chroot only works with apache and its not as easy as I imaged. Can anyone give me the low down on how to change directories with PHP???

I’ve already tried chdir() its really only an apache thing! 🙂 Any help is GREATLY appreciated!
