• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

WordPress 3.8 application and fastcgi not working

SherlockH

Basic Pleskian
When installing WordPress 3.8 via application tab with php running in fastcgi mode, plugin / theme installing features do not work. WordPress asks for FTP credentials. The installer adds the following lines to wp-config.php:

if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
define( 'FS_CHMOD_DIR', 0751 );
}

if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "ftpext";' ));
define( 'FS_CHMOD_DIR', 0755 );
}

If the lines are removed, everything words fine. Is this a bug in the APS package?
 
Hello,

Try to add following code in your wp-config.php file to install plugin/theme without FTP

Code:
define('FS_METHOD','direct');
 
Thanks for your reply. The package was updated by now and the line that you suggested was added. Problem solved ...
 
Back
Top