Looks like cactus pinned it down the first time round.
When I modified open_basedir for gallery2 there is no problem. I know I should not modify httpd.conf "manually" but at this stage I need to do some more reading to find out how to do it properly
To save you some time I suggest you read the linked sections of the developers guide about the
internal configuration database and the
template system, this will get you started pretty soon. You can set the PHPBaseDir for any ibay like so:
Determine the current setting for ibayname using the following command:
db accounts getprop ibayname PHPBaseDir
Usually it will only consist of the path to the html folder of the ibay, to add one issue the following command:
db accounts setprop ibayname PHPBaseDir "oldvalue:/path/to/extra/filesystem/location"
Be sure to add the old path exactly as it was and put the new path after a colon. Also the keywords are case sensitive so PHPBaseDir should be written exactly like that.
After you have entered the proper values we have to regenrate the configuration value of the webserver:
expand-template /etc/httpd/conf/httpd.conf
and restart the webserver to reload the configuration changes:
/etc/rc7.d/S86httpd-e-smith restart
Anyway, looks like solution has been found, thanks to all who reply and particularly to cactus
Always nice to be of (some) help!