diff --git a/frameworks/bedrock/1.yaml b/frameworks/bedrock/1.yaml index a7f67d6..ff442ad 100644 --- a/frameworks/bedrock/1.yaml +++ b/frameworks/bedrock/1.yaml @@ -12,6 +12,10 @@ php: # wp-cli unzips core and dumps databases in one process; 128M is not enough. cli_ini: memory_limit: 512M + # lerd's wp-cli phar bundles code PHP 8.5 deprecates; keep notices off stdout + # so piped wp output stays clean, and off the terminal for PHP's own ones. + display_errors: stderr + error_reporting: "24575" detect: - file: web/wp-config.php @@ -51,6 +55,11 @@ vendor_bin_args: wp: - --allow-root +# Without composer's wp-cli, lerd wp runs the wp-cli lerd pins in its tools +# manifest, fetched on first use. +vendor_bin_tools: + wp: wp-cli + tinker: command: ["vendor/wp-cli/wp-cli/php/boot-fs.php", "eval", "--allow-root"] execute_positional: true diff --git a/frameworks/wordpress/5.yaml b/frameworks/wordpress/5.yaml index 39d8345..78c435f 100644 --- a/frameworks/wordpress/5.yaml +++ b/frameworks/wordpress/5.yaml @@ -10,6 +10,10 @@ php: # wp-cli unzips core and dumps databases in one process; 128M is not enough. cli_ini: memory_limit: 512M + # lerd's wp-cli phar bundles code PHP 8.5 deprecates; keep notices off stdout + # so piped wp output stays clean, and off the terminal for PHP's own ones. + display_errors: stderr + error_reporting: "24575" detect: - file: wp-login.php @@ -47,6 +51,11 @@ vendor_bin_args: wp: - --allow-root +# Without composer's wp-cli, lerd wp runs the wp-cli lerd pins in its tools +# manifest, fetched on first use. +vendor_bin_tools: + wp: wp-cli + tinker: command: ["vendor/wp-cli/wp-cli/php/boot-fs.php", "eval", "--allow-root"] execute_positional: true diff --git a/frameworks/wordpress/6.yaml b/frameworks/wordpress/6.yaml index efa146d..d8f1699 100644 --- a/frameworks/wordpress/6.yaml +++ b/frameworks/wordpress/6.yaml @@ -10,6 +10,10 @@ php: # wp-cli unzips core and dumps databases in one process; 128M is not enough. cli_ini: memory_limit: 512M + # lerd's wp-cli phar bundles code PHP 8.5 deprecates; keep notices off stdout + # so piped wp output stays clean, and off the terminal for PHP's own ones. + display_errors: stderr + error_reporting: "24575" detect: - file: wp-login.php @@ -47,6 +51,11 @@ vendor_bin_args: wp: - --allow-root +# Without composer's wp-cli, lerd wp runs the wp-cli lerd pins in its tools +# manifest, fetched on first use. +vendor_bin_tools: + wp: wp-cli + tinker: command: ["vendor/wp-cli/wp-cli/php/boot-fs.php", "eval", "--allow-root"] execute_positional: true diff --git a/frameworks/wordpress/7.yaml b/frameworks/wordpress/7.yaml index 0187332..d841c74 100644 --- a/frameworks/wordpress/7.yaml +++ b/frameworks/wordpress/7.yaml @@ -10,6 +10,10 @@ php: # wp-cli unzips core and dumps databases in one process; 128M is not enough. cli_ini: memory_limit: 512M + # lerd's wp-cli phar bundles code PHP 8.5 deprecates; keep notices off stdout + # so piped wp output stays clean, and off the terminal for PHP's own ones. + display_errors: stderr + error_reporting: "24575" detect: - file: wp-login.php @@ -47,6 +51,11 @@ vendor_bin_args: wp: - --allow-root +# Without composer's wp-cli, lerd wp runs the wp-cli lerd pins in its tools +# manifest, fetched on first use. +vendor_bin_tools: + wp: wp-cli + tinker: command: ["vendor/wp-cli/wp-cli/php/boot-fs.php", "eval", "--allow-root"] execute_positional: true