• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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