After moving hosting company’s the one major wordpress issue i was having was the fact that i could no upload media to the site i was getting a error about ‘open-basedir restriction’. There are multiple pages about this issue but my resolution was made slightly harder because i am running plesk. This is the way I resolved the issue ( in dummy terms because that’s what i needed. )
1 ) Gain root access to your vps via ssh.
ssh root@<yourdomain.com>
2 ) Change directory to you conf folder for your domain
cd /var/www/vhosts/<yourdomain>/conf/
3 ) create / edit your vhost.conf file
nano vhost.conf
4 ) Add the following lines to the vhost.conf file. What this is doing is turning off php safe mode and also disabling open-basedir restriction. I have no idea the security implication of this I will look into that later. For now it works..
<Directory /var/www/vhosts/<yourdomain>/httpdocs> php_admin_value safe_mode off php_admin_value open_basedir none </Directory>
5 ) Save the file
ctrl-x then Y
6 ) Rebuild your domain config
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<yourdomain>
7 ) restart apatche
apache2ctl restart
8 ) I also had to check that the path in Misc settings of wordpress was correct (I Just changed it to default.
9 ) Test and cross fingers.
I got this working thanks to these links and sites
http://www.mydigitallife.info – This gave me a general overview of what i was doing but did not work fully for me.
Parallels forum post with link to this site
And finally this site for the misc setting in wordpress