Closed lahbibsemlali closed 11 months ago
Hi @lsemlali-13,
GitHub issues are for bug tracking, enhancements, etc., not general support and debugging. Feel free to stop by the #cli
channel on WordPress.org Slack if you'd like help debugging further.
so i started a wordpress lemp in a debian:bullseye container and i downloaded wordpress to /var/www/html/wordpress using wp core download and now i tried to create the wp-config.php but when i use the command wp config create --allow-root with the options of --path=/var/www/html/wordpress i get this error 'PHP Warning: file_get_contents(phar://wp-cli.phar/vendor/wp-cli/wp-cli/templates/phar://usr/local/bin/wp/vendor/wp-cli/config-command/templates/wp-config.mustache): failed to open stream: phar error: "vendor/wp-cli/wp-cli/templates/phar:/usr/local/bin/wp/vendor/wp-cli/config-command/templates/wp-config.mustache" is not a file in phar "wp-cli.phar" in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php on line 608 Error: Could not create new 'wp-config.php' file.'. and btw i dont get that error if i first cd to /var/www/html/wordpress then run wp config create.