Created
July 11, 2013 00:51
-
-
Save dionysia/5971592 to your computer and use it in GitHub Desktop.
If you've ever run into the problem of being asked for FTP everytime you want to upload or install something and you're sick and tired of always running chown or changing permissions, this fix to your wp-config.php will help everytime to ensure your php user can handle all of this stuff... From Michael Cabral Poubel Bastos, Advanced Wordpress on FB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- add tp wp-config.php --> | |
define( 'FS_METHOD', 'direct' ); | |
define( 'FS_CHMOD_DIR', 0755 ); | |
define( 'FS_CHMOD_FILE', 0755 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment