open_basedir restriction in effect on shared server problem


When accessing the installation page I get a lot of warnings like the one below:

Warning: is_readable() []: open_basedir restriction in effect. File(/usr/lib/php//home/rgra2445/public_html/wilde/omeka/install/../application/libraries/Omeka/Core/Resource/Layout.php) is not within the allowed path(s): (/home/rgra2445:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/rgra2445/public_html/wilde/omeka/application/libraries/Zend/Loader.php on line 198

I am not sure what the problem is because my php skills are very basic. First instinct was to contact my web hoster to tweak the open_basedir paths but I am not sure what I should request. I can see that /usr/lib/php is already on the path and so is my homedir (home/rgra2445) . What seems strange to me is that the loader looks for a file that could not possibly exist in /usr/lib since only the admin could put it there... Is there some sort of redirect that is not working?
Any tips would be appreciated.

Here's my response to someone who was having a similar problem. The best option is to get your host to loosen or remove the open_basedir restrictions, but you should also be able to make a small code tweak to work around this problem.

You are the man! The set_include_path('.'); fixed all errors so I did not have to ask anything from my ISP, I can't thank you enough, really. Good luck to you!

Best regards,