• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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