stop FTP login information

uberguru

Verified User
Joined
Apr 30, 2011
Messages
97
Hi,

When i try to update a plugin on my wordpress site on server, it asks for FTP information. How can i stop this in DA?

I want to be able to update without asking me FTP information.

Thanks.
 
Hello,

You'd better ask the question on wordpress's community forums. It has nothing to do with directadmin directly, as directadmin does not make your wordpress to do that.
 
yes it does,
its in PHP security configuration
i can resolve the problem by changing file permissions in that one site but i want a server level fix and it can be done from DA
 
OK, then you should be more specific. If it's an issue of files permissions (not FTP access) then you might need to use suPHP or mod_ruid2. Search the forums for detailed information on how to use one of the two.
 
I'm a bit confused. While I'm not a wordpress expert, and I don't play one on television, I do hire one as necessary.

If the issue is a permissions issue then you need to run wordpress as the same username you upload under; that, as already posted, requires su_PHP or mod_ruid2. DirectAdmin offers you the option of setting up your server to do one or the other; the former through CustomBuild, and the latter through steps outlined in these forums.

If the issue is that your wp_config file needs to be updated, then you can't expect DirectAdmin to manage that for you; it's wordpress specific.

Jeff
 
well that can be done for each site but i want to solve this on the server level.
I need to change the PHP settings to remove this security feature because i really don't want it.
What security feature? To stop FTP functions via PHP? Think that needs the --enable-ftp omitting before compiling. If so, upgrading will need to be done manually.

Only way is to have one installation and use multi-site

Think I'm getting confused or the wrong stick of what you're asking, if so, sorry.
 
I'm a bit confused. While I'm not a wordpress expert, and I don't play one on television, I do hire one as necessary.

If the issue is a permissions issue then you need to run wordpress as the same username you upload under; that, as already posted, requires su_PHP or mod_ruid2. DirectAdmin offers you the option of setting up your server to do one or the other; the former through CustomBuild, and the latter through steps outlined in these forums.

If the issue is that your wp_config file needs to be updated, then you can't expect DirectAdmin to manage that for you; it's wordpress specific.

Jeff

Okay instead of trying to explain all over.
Lets start with this question.

What is the use of suPHP?
And is suPHP on by default with fresh DA install?
 
I didn't get what you meant at first too, but you indeed need suphp or mod_ruid2. Many of us are now using mod_ruid2 because it has advantages over suphp (speed). To reach your goal you could use any of them.

Without them your files are being executed as user apache, while the owner of the files is the user itself. With suphp or mod_ruid2 files are being executed under their own user, having more rights. This creates the advantages of not having to chmod 777 everything to have the same result as normal chmods under its own user. If you don't get the whole rights system on linux, search it on google.

Heres the how to on mod_ruid2
http://www.directadmin.com/forum/showthread.php?t=37467

And here for suphp
http://www.directadmin.com/forum/showthread.php?t=29483

And for the record, wordpress tries to download and extract files when updating. If it can't because its limited by rights, it will prompt you to do it trough ftp.

Update WordPress

Downloading update from http://wordpress.org/wordpress-3.2.zip…

Unpacking the update…

Verifying the unpacked files…

Installing the latest version…

Upgrading database…

WordPress updated successfully
:)
 
I didn't get what you meant at first too, but you indeed need suphp or mod_ruid2. Many of us are now using mod_ruid2 because it has advantages over suphp (speed). To reach your goal you could use any of them.

Without them your files are being executed as user apache, while the owner of the files is the user itself. With suphp or mod_ruid2 files are being executed under their own user, having more rights. This creates the advantages of not having to chmod 777 everything to have the same result as normal chmods under its own user. If you don't get the whole rights system on linux, search it on google.

Heres the how to on mod_ruid2
http://www.directadmin.com/forum/showthread.php?t=37467

And here for suphp
http://www.directadmin.com/forum/showthread.php?t=29483

And for the record, wordpress tries to download and extract files when updating. If it can't because its limited by rights, it will prompt you to do it trough ftp.

:)

The description on this page http://www.directadmin.com/forum/showthread.php?t=29483 is so long that i don't even know if that is like a step by step guide or just some list of things to do. It is so long and no much details as to what is being done.

So basically my problem is that i have a fresh install of DA and just added users and uploaded websites on them. So basically all sites have same configuration.

So, if you can help me here, what exactly do i do to fix my problem?
 
both suPHP and mod_ruid2 allow apache to run php programs as the username, not as the apache user.

No. Neither are.

More information in Arieh's post, immediately above.

Jeff

If neither suPHP nor mod_ruid2 is installed by default, why then do i have them on my server when i didn't install them?

I guess it is suPHP that is causing the problem i am having. right?
 
both suPHP and mod_ruid2 allow apache to run php programs as the username, not as the apache user.

No. Neither are.

More information in Arieh's post, immediately above.

Jeff

1. Is suPHP already installed by DA?

2. Do i install suPHP to solve this problem?

3. How do i install suPHP on DA? and what do i do next to solve the problem?
 
No, as previously explained by others you will need to use either mod_ruid2 or suphp to solve this. If WordPress cannot update and asks for FTP details the folder and file permission setting do not allow it to update. Both modules can solve this.

If you are unsure how to install, hire someone to do this for you.
 
People need to take care of what to use as a subject to a topic - "stop FTP login information" to me was "how can I stop Wordpress from asking for FTP details every update", so as in post five, I answered.
 
@uberguru,

OK, the answers were already given, and if more details are needed to understand the way how mod_ruid and mod_suphp work you'd better Google and search the forums.
 
Back
Top