• I installed the wp-cli to handle regenerating images but it balked with errors

    PHP Warning:  file_get_contents(/var/www/hardcoregames.ca/wp-config.php): failed to open stream: Permission denied in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php on line 603
    Error: Strange wp-config.php file: wp-settings.php is not loaded directly.
    igreen@x230:/var/www/hardcoregames.ca$ wp media regenerate
    PHP Warning:  file_get_contents(/var/www/hardcoregames.ca/wp-config.php): failed to open stream: Permission denied in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php on line 603
    Error: Strange wp-config.php file: wp-settings.php is not loaded directly.

    running with sudo does not work well either had to use –allow-root

    maybe it should use web-data:web-date which is what the default owner is

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-cli issues’ is closed to new replies.