::: Zany's Homepage ::: Zany Wiki | »çÀÌÆ® ÅëÇÕ °Ë»ö
 
 
 

[wordpress] Ç÷¯±×ÀÎÀ» FTP/SSH ¾øÀÌ ¼³Ä¡ ¹× ¾÷µ¥ÀÌÆ® Çϱâ.

°Ô½ÃÆÇ
Web Technologies
ÀÛ¼ºÀÚ
helix
ÀÛ¼ºÀÏ
2012-12-11 00:12:54
ÀÐÀº¼ö
4627
ÆòÁ¡
   
Ç¥½Ã¿É¼Ç
HTML»ç¿ë | ÀÚµ¿BRűנ| °ø¹é¹®ÀÚÇã¿ë | °¡¿îµ¥Á¤·Ä | °íÁ¤Æø±Û²Ã | ÀÚµ¿URL¸µÅ© | ¸¶¿ì½º¼±ÅÃ
°ü·Ã¸µÅ©01
http://stackoverflow.com/questions/640409/can-i-install-update-wordpress-plugins-without-providing-ftp-access 
Wordpress will only prompt you for your FTP connection information
while trying to install plugins or a wordpress update if it cannot write to /wp-content directly.

Otherwise, if your web server has write access to the necessary files,
it will take care of the updates and installation automatically.

This method does not require you to have FTP/SFTP or SSH access,
but it does require your to have specific file permissions set up on your webserver.

It will try various methods in order, and fall back on FTP if Direct and SSH methods are unavailable.

http://core.trac.wordpress.org/browser/tags/3.1/wp-admin/includes/file.php#L866

Wordpress will try to write a temporary file to your /wp-content directory.

If this succeeds, it compares the ownership of the file with it's own uid,
and if there is a match it will allow you to use the 'direct' method of installing plugins, themes, or updates.

Now, if for some reason you do not want to rely on the automatic check for which filesystem method to use,
you can define a constant, 'FS_METHOD' in your wp-config.php file
that is either 'direct' 'ssh', 'ftpext' or 'ftpsockets' and it will use method.

Keep in mind that if you set this to 'direct' but your web user
(the username under which your webs server runs) does not have proper write permissions,
you will receive an error.

In summary, if you do not want to (or you cannot) change permissions on wp-content
so your web server has write permissions, then add this to your wp-config.php file:

define('FS_METHOD', 'direct');

-----------------------------------------------------------------

wp-content µð·ºÅ丮¸¦ À¥¼­¹ö°¡ write Çϵµ·Ï ±ÇÇÑÀ» ¼öÁ¤ÇÒ ¼ö ¾ø´Â °æ¿ì,
wp-config.php ÆÄÀÏ¿¡ ¾Æ·¡ ¶óÀÎÀ» Ãß°¡ÇÏ¸é µÈ´Ù°í ÇÑ´Ù.

define('FS_METHOD', 'direct');

-----------------------------------------------------------------

º°ÁþÀ» ´Ù ÇÏ´Ù°¡ °á±¹ ÇÑÁÙ·Î µÈ´Ù´Â °É ¾Ë°í ¸àÅ»ºØ±«...
¿ª½Ã ¿Ü±¹ ÀÚ·á°¡ ¯.

 °Ô½ÃÆÇ ±Û ¸ñ·Ï
No Subject Poster Hits Posted
14197 helix 1552 2017-08-23 13:18:52
14066 helix 1750 2017-05-10 13:57:57
4516 helix 3035 2013-06-18 11:35:45
4515 helix 3274 2013-06-18 11:33:30
4514 helix 2508 2013-06-18 11:29:42
helix 4627 2012-12-11 00:12:54
2620 helix 3582 2011-07-25 15:21:45
2609 helix 3952 2011-05-31 11:27:03
2584 helix 4359 2011-02-09 20:57:46
2576 helix 6336 2011-01-18 16:34:29
2572 helix 3739 2011-01-14 00:46:32
ÄÚ¸àÆ®
ÀÛ¼ºÀÚ
                       
 
zany.kr
  Copyright ¨Ï 2002-2010 Zany's Programming Lab. All Rights Not Reserved.
temporary This Page loads on 0.000 Secs