slongmire Posted August 16, 2006 Share Posted August 16, 2006 I have php 4.4.3 runing on WinXP Pro SP2 under IIS 5.1 as an ISAPI installation. When I run phpinfo() in a test web page, I get the standard page generated that shows what parts of php are installed, etc. However, I noticed the strange entry for include_path that points to .;c:\php4\pear below. I have no c:\php4 directory, and never have. Neither have I attempted to install pear.I exported a couple of sections from the phpinfo() web page so maybe someone can help me troubleshoot and fix this entry.Directive Local Value Master Valuedisplay_errors Off Offdisplay_startup_errors Off Offdoc_root c:\inetpub\wwwroot c:\inetpub\wwwrootdocref_ext no value no valuedocref_root no value no valueenable_dl On Onerror_append_string no value no valueerror_log syslog syslogerror_prepend_string no value no valueerror_reporting 2047 2047expose_php On Onextension_dir c:\php\extensions c:\php\extensionsfile_uploads On Ongpc_order GPC GPC[color=red]include_path .;c:\php4\pear .;c:\php4\pear[/color]In checking the php.ini file, the lines for include_path (both the Unix and the Windows versions) are commented out and not set. In neither of those examples did anything ever point to c:\php4\pear, either.Thanks,Steve Quote Link to comment https://forums.phpfreaks.com/topic/17740-strange-entry-shown-using-phpinfo/ Share on other sites More sharing options...
wildteen88 Posted August 16, 2006 Share Posted August 16, 2006 This is normal. These are default values built into PHP itself if no value is set for include_path within the php.ini. I get the same result with PHP5 as an Apache Module. You can define a defualt include path by finding this within the php.ini:[code]; Windows: "\path1;\path2";include_path = ".;c:\php\includes"[/code]Now remove the semi-colon infront of include_path. Now change [b]c:\php\includes[/b] to the direcotry in which you want PHP to search in first when including/requireing filesMore information can be found over at php.net on this setting Quote Link to comment https://forums.phpfreaks.com/topic/17740-strange-entry-shown-using-phpinfo/#findComment-75690 Share on other sites More sharing options...
slongmire Posted August 16, 2006 Author Share Posted August 16, 2006 Thanks for the info. I thought I'd messed up again! ::) Quote Link to comment https://forums.phpfreaks.com/topic/17740-strange-entry-shown-using-phpinfo/#findComment-75793 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.