I've got a server up and running fine and i've been going through all of the parts testing it, mail works, ftp now works, mysql works okay.
However, PHP/MySQL integration produces these errors (they may be strictly PHP but the files should also access MySQL):
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/config.php) is not within the allowed path(s): (/home/www/web1/) in /home/www/web1/web/scripts/database.php on line 3
Warning: main(config.php) [function.main]: failed to open stream: Operation not permitted in /home/www/web1/web/scripts/database.php on line 3
Fatal error: main() [function.require]: Failed opening required 'config.php' (include_path='.:/usr/share/pear') in /home/www/web1/web/scripts/database.php on line 3
The script database.php on line 3 does:
The code in config.php just sets some variables, nothing fancy.
This has worked fine on my current web host that I use, I presume I need to wort out some open_basedir restrictions. How do I do this?