File(/etc/amportal.conf) is not within the allowed path(s)

Hi
Follwing on from my previous posts, this is the error I am seeing in error_log for httpd.

Also there was a permission error on /var/lib/php/session
after chmoding this 777 that went away, however I am sure that is not the best way.
Maybe I could chown it to user asterisk at that is what httpd is running as.

Anyway I can come back to that one, I’m more concerend with fixing the

[client 82.152.136.98] PHP Warning: file() [function.file]: open_basedir restriction in effect. File(/etc/amportal.conf) is not within the allowed path(s): (/var/www/vhosts/pbx.blahblah.com/httpdocs:/tmp) in /var/www/vhosts/pbx.blahblah.com/httpdocs/admin/functions.inc.php on line 17

error.

Any clues?
thanks
Mike