I can not guarentee that I do not give you a solution that will affect security, It's more correct I think to say it will affect security.
This is my note from en very old E-Smith HowTo:
qoute>
PHP applications running in i-bays can only access files within the same i-bay. Is there a way that the administrator can relax this restriction?
Yes. The administrator can change the PHP Base Directory by executing the following commands (as root):
/sbin/e-smith/db accounts setprop your_i-bay_name PHPBaseDir /
/sbin/e-smith/signal-event ibay-modify your_i-bay_name
Note that the PHPBaseDir argument can be more restrictive than the example shown above. For example PHPBaseDir can also be '/home/e-smith/files/'.
<unquote>
And this is the newer wiki related to PHP:
http://wiki.contribs.org/PHPWhat I think is the reason that it does not upload the file is that it will try to upload first to the /tmp folder that is not allowed.
The old prosdure does not work anymore, but this slightly modified seems to work for the primary ibay:
****
db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary/html/:/tmp
signal-event ibay-modify Primary
****
Can not guarantee the security of this, buth nothing hapened during the years I used the old method.
There is also some editing needed in the configuration file:
$dateien = "/home/e-smith/files/ibays/Primary/html/phproject/upl"; // File management no = leave empty, yes = insert full path
$dat_rel = "./upl"; // and the relative path to the PHProjekt directory
****
Tested on SME 7.3 using a very old copy of the Phproject (An old security copy).
Could you leave a msg if it is tested and if it works ?
By the way, do not know what changed from 7.2 to 7.3.