open_basedir paths

I keep having this problem of inability to install any plug in or module to my website since I switched to EHCP.This is the error.

• JFolder::create: Path not in open_basedir paths
• Warning! Failed to move file.

I was made to understand that I have to set the tmp path to ftpuser/domainname/phptmpdir (I have tried several ways to do it (I am a complete newbie please)as much as possible and have not been able to solve it. I keep having the error. Today, I have to keep looking here and there on the NET for solution, yet, I am still in headlong with it.
Eventually i discovered that the absolute path should be /var/www/vhosts/ftpuser/domainname/phptmpdir. When I set this in my site php config, the error burst down to

• JFolder::create: Path not in open_basedir paths
• Warning! Failed to move file.

Did I really get the path correctly? If yes, why this error again? If no. please forum member for those of you using Joomla, what is the correct path to the phptmpdir in the php configuration file?
I am using Echp 0.29.13 (the newest version).

Thanks

Comments

choose your domain in ehcp, click "edit apache template"

then, in open_basedir line,
change the path to:

/var/www/vhosts/ftpuser/domainname/phptmpdir
but, not exactly this, replace ftpuser with whatever you have.
and domainname with your actual name.
for ex,
if your ftp user is joadeika, and doamin is xxx.com
then, this should be:
/var/www/vhosts/joadeika/xxx.com/phptmpdir

you may also need to set this path in your application settings, jfolder or whatever it is.

Thanks. The solution proffered works.

Together, we can Achieve More.