Thread:Project:Support desk/Internal Error - PEAR mail package is not installed/reply (5)

I think the problem is that check_pear.php uses the default include, my Localsettings.php had this: ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" ); which overwrites the include_path just for that php script.. so I would never see the wrong path in check_pear.php, and unless I had added those actual checks as part of Mediawiki somewhere (maybe in LocalSettings.php idk) to check it there. I'm not sure if that ini_set is standard in mediawiki (I only have one installation so know way to tell) but it looks like a better choice as of php 4.3.0 would be something like this (not tested!)

set_include_path(get_include_path .":$IP:$IP/includes:$IP/languages");

which would add the path we want to the default include_path.

Just for tests I removed setting the ini_set part of LocalSettings.php and everything works as expected (so far) so I'm not even sure why that was in my LocalSettings.php.

Thanks for all the help