PHP5 includes w/IIS 5.1
Posted: Sun Oct 05, 2008 3:50 am
Inetpub is giving me troubles with include.
// $_SERVER['DOCUMENT_ROOT'] is set - you can use it as usual...
Using include($_SERVER['DOCUMENT_ROOT'].'/dir/folder/file.php');
I get a lengthy error [function.include]: failed to open stream: ... and
failed opening ... for inclusion (include_path='.;c:\php5\pear') in C:\Inetpub\wwwroot ....
ALSO
Using the actual root path times out after 30 seconds.
I have googled .;c:\php5\pear and mainly found many sites displaying this same type error yet have not found a resolution.
If you are using PHP5 + IIS and can include/require files please let me know if you have a resolution for this.
// $_SERVER['DOCUMENT_ROOT'] is set - you can use it as usual...
Using include($_SERVER['DOCUMENT_ROOT'].'/dir/folder/file.php');
I get a lengthy error [function.include]: failed to open stream: ... and
failed opening ... for inclusion (include_path='.;c:\php5\pear') in C:\Inetpub\wwwroot ....
ALSO
Using the actual root path times out after 30 seconds.
I have googled .;c:\php5\pear and mainly found many sites displaying this same type error yet have not found a resolution.
If you are using PHP5 + IIS and can include/require files please let me know if you have a resolution for this.