Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have configured php on iis, windows server. I need to include a url in program, and I get an error

wrapper is disabled in the server configuration by allow_url_include=0

Normally, I would go in the php.ini file and change it. But now, I don't know where to look.

share|improve this question

migrated from stackoverflow.com Aug 25 '12 at 19:56

This question came from our site for professional and enthusiast programmers.

In the php.ini? –  Pekka 웃 Aug 25 '12 at 5:30

1 Answer 1

up vote 1 down vote accepted

PHP instalation path, and same php.ini

You can try in c:\windows\php.ini also

Or you can phpinfo() to see where the ini is

share|improve this answer
phpinfo(); will tell you where it is –  Waygood Aug 23 '12 at 16:13
Yes, i was adding that too, but my 3G connection closed on my phone ;). Added –  Mihai Iorga Aug 23 '12 at 16:16
thanks! stupid of me –  devmonster Aug 23 '12 at 16:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.