Yes, any directory that is chmod'd to 777. You need to use the *full and exact* path though.
Plesk + vB Upload Solution
Collapse
X
-
Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
-
anyways, the first post in this thread is erroneous in certain places. Here's a cleaned up version (which admittedly I compiled through posts in here, Eva's thread on the same subject and another thread in the plesk forums, and the advice from my telnet guru):
(This is for Dedicated Servers, although the procedure is similar to non-dedicated)
1. Log into your server via SSH and switch to root if you need to.
2. run this command, change domain.com to your domain name.
pico -w /usr/local/psa/home/vhosts/domain.com/conf/vhost.conf
3. After that has been run, input the following. Be sure to type this as is, except for changing the domain of course :P
<Directory /usr/local/psa/home/vhosts/domain.com/httpdocs>
php_admin_value safe_mode 0
php_admin_value open_basedir "/usr/local/psa/home/vhosts/domain.com/httpdocs:/tmp"
</Directory>
4. Be sure to save and exit this file once you make those additions.
5. Next restart Apache by running:
/usr/local/psa/admin/bin/my_apci_rst
after about 5-10 minutes (or however long Apache takes to restart), your avatars _should_ be uploading fine now. Be sure that under your VBulletin Options Control Panel you have Safe Mode turned off. It worked for me at least :PComment
-
Hi, I can't seem to figure out how to enable persmissions to write to the /conf directory.
SSH gives me an error message saying I don't have permission to write the file. Using FTP, I can't do anything in this directory. I tried using CHMOD to 777 for it. Anything else? Thanks!Comment
-
Originally posted by randychase
Hi, I can't seem to figure out how to enable persmissions to write to the /conf directory.
SSH gives me an error message saying I don't have permission to write the file. Using FTP, I can't do anything in this directory. I tried using CHMOD to 777 for it. Anything else? Thanks!
in telnet type
su -
which will prompt you for your root server password:: Always Back Up Forum Database + Attachments BEFORE upgrading !
:: Nginx SPDY SSL - World Flags Demo [video results]
:: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]Comment
-
-
Yikes. It all seemed to work. I was able to upload a test image. Then I did it for my other forum, replacing the domains with the new domain. Save that one to the proper directory. Rebooted the apache server using the command above. Received this message:
pcbstandards.# /usr/local/psa/admin/bin/my_apci_rst
psa: failed to restart Apache server
0Last edited by randychase; Sat 10 Aug '02, 12:18pm.Comment
-
try remove the vhost.conf file for the 2nd forum you did and restart apache does that work ?
if it does i'd double check your typing for the 2nd forum domain's vhost file:: Always Back Up Forum Database + Attachments BEFORE upgrading !
:: Nginx SPDY SSL - World Flags Demo [video results]
:: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]Comment
-
-
in the directory containing the file you want to edit/rename
you can rename it
mv oldfilename newfilename
or delete it
rm filename:: Always Back Up Forum Database + Attachments BEFORE upgrading !
:: Nginx SPDY SSL - World Flags Demo [video results]
:: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]Comment
-
Thanks again. That was it. I very much appreciate all the help you give me (and the VB community!).Comment
-
Originally posted by randychase
Thanks again. That was it. I very much appreciate all the help you give me (and the VB community!).:: Always Back Up Forum Database + Attachments BEFORE upgrading !
:: Nginx SPDY SSL - World Flags Demo [video results]
:: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]Comment
-
for ease of chmod'ing and some other helpful things
you can also give the user rights to bash or whatever shell you desire.
vi /etc/passwd
find the username you need and the very last line should say false, you want to change this to bash or what ever shell you may want. I would only recommend this if you are the server admin and this is one of your domains. Giving this right to users or resellers lets them browse the entire directory structre which is NOT good.Comment
-
I'm trying to install SSH, but those links in the first post are invalid. Is there more updated ones that can be provided, as well as what I need to type to shut down MySQL and reboot the server? Once it is rebooted, do I need to enter a command to start MySQL again?Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment