okies..
I managed to solve the problem..
As I mentioned earlier, I tried the solution suggested by eekb -
/sbin/e-smith/db accounts setprop <ibayname> PHPBaseDir /
/sbin/e-smith/signal-event ibay-modify <ibayname>
but somehow or rather, it didn't work.. My ibay directory displays plain white
wallpaper in my web browser.. After some hacking, I managed to solve this issue by slightly improving eekb's code thus -
/sbin/e-smith/db accounts setprop <ibayname> PHPBaseDir /home/e-smith/files/ibays/<ibayname>/:/tmp
/sbin/e-smith/signal-event ibay-modify <ibayname>
As you noticed the colon (
![Smile :)](/Smileys/default/smile.gif)
between the two directories. This is to signify that there's a multiple directory (two to be exact) being specified so that PHP can executes stuff in the ibay's directory and also inside /tmp. Therefore no compromise to security and also solves the white wallpaper issue that I encountered earlier.
It seems that, there's a certain depth of directories that PHP defaults to in executing the scripts and apparently the ibays' directory seems to be too deep in order to put the PHPBasedir to /, thus explains the white wallpaper that I encountered. Actually, as I recall, there is a way to specify how deep the directories that PHP can executes from, but
![Another pint of beer :pint:](/Smileys/default/drink.gif)
let's leave that for later.. Now, I need some aspirin and a cute doctor to call in the morning
![Cool 8-)](/Smileys/default/cool.gif)
)
Anyway, by specifying two separate directories seems to solve the problem.
I hope my solution is the proper way of doing things. Anyone else who can improve my solutions, please... I'm all ears..
![Wink ;-)](/Smileys/default/wink.gif)
Sincere regards and thanks
Deunan