Koozali.org: home of the SME Server

phpshop and open_basedir

Frank Ng

phpshop and open_basedir
« on: May 21, 2002, 09:43:44 AM »
When installing phpshop in the e-smith 5.1.2 server, the following errors occur when I upload the images:

Warning: open_basedir restriction in effect. File is in wrong directory in
/home/e-smith/files/ibays/xxx/html/cart/phpshop/modules/admin/lib/ps_main.inc on line 140

Further check on the file varible I find that the php script cannot write to the /tmp directory. How can I release the restriction of php
safe mode only on /tmp directory instead of disable the sandbox features in order to make it work?

Thx
Frank

Luke Drumm

Re: phpshop and open_basedir
« Reply #1 on: May 21, 2002, 11:44:22 AM »
A search of the boards would reveal that this has been discussed quite a few times before. Maybe something like the following may be of help:

http://forums.contribs.org/index.php?topic=12706.msg47725#msg47725

Regards,
Luke