If you are using php fastcgi and PHP runs under the same user as the owner of the files you don’t have to use FTP at all. WP can directly access the files. Just add the following to your wp-config.php file:
define( 'FS_METHOD', 'direct' );
define( 'FS_CHMOD_DIR', 0777 );
define( 'FS_CHMOD_FILE', 0777 )
No comments:
Post a Comment