[wp-trac] [WordPress Trac] #55466: Build Tools: create Docker test environment that use non-direct filesystems

WordPress Trac noreply at wordpress.org
Sat Mar 26 04:14:08 UTC 2022


#55466: Build Tools: create Docker test environment that use non-direct filesystems
------------------------------+------------------------------
 Reporter:  afragen           |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  dev-feedback      |     Focuses:
------------------------------+------------------------------

Comment (by costdev):

 This was what was I used to get `ftpext`/`ftpsockets` working:

 - An FTP server: I used `vsftpd` on Ubuntu.
 - FTP `write` permissions: This involves uncommenting `# write_enable=YES`
 in `/etc/vsftpd.conf`.
 - Write access to the necessary folders (i.e. `Site Health > Info > File
 system permissions`).
 - A new user for FTP:
 {{{#!sh
 sudo useradd FTP_USER
 sudo passwd FTP_USER
 (enter password):
 }}}
 - Entries in `wp-config.php`:
 {{{#!php
 define( 'FS_METHOD', 'ftpext' ); // Or 'ftpsockets'.

 define( 'FTP_BASE', '/var/www/html/wordpress-develop/src/' );
 define( 'FTP_USER', 'FTP_USER' );
 define( 'FTP_PASS', 'password' );
 define( 'FTP_HOST', 'localhost' );
 define( 'FTP_SSL', false );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55466#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list