• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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