I edited the vhost.conf file which I had done in the past with no luck, but when I got to the step of running the command it didn't appear to be found. Any suggestions?
[root@plesk psa]# /usr/local/psa/bin/my_apci_rst
bash: /usr/local/psa/bin/my_apci_rst: No such file or directory
[root@plesk psa]# whereis my_apci_rst
my_apci_rst:
- xear
QUOTE
Originally posted by RaQServices
If you are attempting to upload files via php, (uses the tmp folder for uploads use this method) or if you just need to change the basedir for a site.
1. ssh as root into your server.
2. cd to your site's folder (/usr/local/psa/home/vhosts/domain.com
3. cd to the conf folder
4. type pico -w vhost.conf
5. type this in the file:
php_admin_value open_basedir "/usr/local/psa/home/vhosts/domain.com/httpdocs:/tmp"
(you can add any folder you need access to by adding :/path/to/folder like i did with the :/tmp folder)
6. to save and exit the file Press Ctrl + o (it will ask what file to save as, just hit enter) Then press Ctrl + x (this will exit)
7. Restart - run - /usr/local/psa/bin/my_apci_rst
This method has worked on all servers I've had with this problem.