Hi,
I'm using php 4.3.6 with microsoft IIS o my PC.
I created a virtual directory in IIS and tried to access it in my PHP script but I got errors about the driectory not existing.
I could however, use this directory and link to files in it etc with standard html.
Does anyone know why PHP won't read the virtual directory?
Thanks
Using Virtual Directories with PHP
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Ok so is there any way I can get php to just read files on disk even if they're not in wwwroot?
I couldn't get apache to work and the only things I host from my PC are files I share with my brother so I was quite happy just to stick with IIS since it usually does what it should. I think I just didn't install apache correctly (or come to think of it I may not have uninstalled IIS first) so I should probably give it another go.
Thanks
I couldn't get apache to work and the only things I host from my PC are files I share with my brother so I was quite happy just to stick with IIS since it usually does what it should. I think I just didn't install apache correctly (or come to think of it I may not have uninstalled IIS first) so I should probably give it another go.
Thanks
I'd seriously recommend installing Apache, as IIS (even though it does an admirable job) doesn't quite cut the mustard when using PHP. Apache is more complicated to get set up, but you only need to edit one file to get it working. Seeing as PHP has extra functionality when running under Apache, if you really want to get to grips with the language, Apache is the only way to do it.
I'm sure you can get lots of help on these forums for installing Apache on windows.
good luck!
I'm sure you can get lots of help on these forums for installing Apache on windows.
good luck!