[EC-CUBE] 4.0.6-p1 ~ 4.1.2
[レンタルサーバ] CORESERVER
[OS] Ubuntu
[PHP] 7.4
パケージ版を利用しています。
sshで接続し「php bin/console cache:clear」などのコマンドを実行すると.envファイルを
APP_ENV=prod
APP_DEBUG=0
にしていると
Symfony 4.4.36 (env: prod, debug: false)
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-e, --env=ENV The Environment name. [default: "prod"]
--no-debug Switches off debug mode.
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
about Display information about the current project
help Display help for a command
list List commands
assets
assets:install Install bundle's web assets under a public directory
cache
cache:clear Clear the cache
cache:pool:clear Clear cache pools
cache:pool:delete Delete an item from a cache pool
cache:pool:list List available cache pools
cache:pool:prune Prune cache pools
cache:warmup Warm up an empty cache
config
config:dump-reference Dump the default configuration for an extension
debug
debug:autowiring List classes/interfaces you can use for autowiring
debug:config Dump the current configuration for an extension
debug:container Display current services for an application
debug:event-dispatcher Display configured listeners for an application
debug:form Display form type information
debug:router Display current routes for an application
debug:swiftmailer Displays current mailers for an application
debug:translation Display translation messages information
debug:twig Show a list of twig functions, filters, globals and tests
doctrine
doctrine:cache:clear-collection-region Clear a second-level cache collection region
doctrine:cache:clear-entity-region Clear a second-level cache entity region
doctrine:cache:clear-metadata Clears all metadata cache for an entity manager
doctrine:cache:clear-query Clears all query cache for an entity manager
doctrine:cache:clear-query-region Clear a second-level cache query region
doctrine:cache:clear-result Clears result cache for an entity manager
doctrine:cache:contains Check if a cache entry exists
doctrine:cache:delete Delete a cache entry
doctrine:cache:flush [doctrine:cache:clear] Flush a given cache
doctrine:cache:stats Get stats on a given cache provider
doctrine:database:create Creates the configured database
doctrine:database:drop Drops the configured database
doctrine:database:import Import SQL file(s) directly to Database.
doctrine:ensure-production-settings Verify that Doctrine is properly configured for a production environment
doctrine:fixtures:load Load data fixtures to your database
doctrine:generate:entities [generate:doctrine:entities] Generates entity classes and method stubs from your mapping information
doctrine:mapping:convert [orm:convert:mapping] Convert mapping information between supported formats
doctrine:mapping:import Imports mapping information from an existing database
doctrine:mapping:info
doctrine:migrations:diff Generate a migration by comparing your current database to your mapping information.
doctrine:migrations:execute Execute a single migration version up or down manually.
doctrine:migrations:generate Generate a blank migration class.
doctrine:migrations:latest Outputs the latest version number
doctrine:migrations:migrate Execute a migration to a specified version or the latest available version.
doctrine:migrations:status View the status of a set of migrations.
doctrine:migrations:version Manually add and delete migration versions from the version table.
doctrine:query:dql Executes arbitrary DQL directly from the command line
doctrine:query:sql Executes arbitrary SQL directly from the command line.
doctrine:schema:create Executes (or dumps) the SQL needed to generate the database schema
doctrine:schema:drop Executes (or dumps) the SQL needed to drop the current database schema
doctrine:schema:validate Validate the mapping files
eccube
eccube:composer:install
eccube:composer:remove
eccube:composer:require
eccube:composer:require-already-installed
eccube:composer:update
eccube:delete-carts Delete Carts from the database
eccube:fixtures:generate Dummy data generator
eccube:fixtures:load Load data fixtures to your database.
eccube:generate:proxies Generate entity proxies
eccube:install Install EC-CUBE
eccube:plugin:disable
eccube:plugin:enable
eccube:plugin:generate Generate plugin skeleton.
eccube:plugin:install Install plugin from local.
eccube:plugin:schema-update Execute plugin schema update.
eccube:plugin:uninstall Uninstall plugin.
eccube:plugin:update Execute plugin update process.
eccube:schema:update [doctrine:schema:update] Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata
lint
lint:container Ensure that arguments injected into services match type declarations
lint:twig Lint a template and outputs encountered errors
lint:xliff Lint an XLIFF file and outputs encountered errors
lint:yaml Lint a file and outputs encountered errors
router
router:match Help debug routes by simulating a path info match
secrets
secrets:decrypt-to-local Decrypt all secrets and stores them in the local vault.
secrets:encrypt-from-local Encrypt all local secrets to the vault.
secrets:generate-keys Generate new encryption keys.
secrets:list List all secrets.
secrets:remove Remove a secret from the vault.
secrets:set Set a secret in the vault.
security
security:encode-password Encode a password.
swiftmailer
swiftmailer:email:send Send simple email message
swiftmailer:spool:send Sends emails from the spool
translation
translation:update Update the translation file
trikoder
trikoder:oauth2:clear-expired-tokens Clears all expired access and/or refresh tokens
trikoder:oauth2:create-client Creates a new oAuth2 client
trikoder:oauth2:delete-client Deletes an oAuth2 client
trikoder:oauth2:list-clients Lists existing oAuth2 clients
trikoder:oauth2:update-client Updates an oAuth2 client
workflow
workflow:dump Dump a workflow
と表示され
APP_ENV=dev
APP_DEBUG=1
にしていると
Symfony 4.4.36 (env: dev, debug: true)
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-e, --env=ENV The Environment name. [default: "dev"]
--no-debug Switches off debug mode.
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Status: 500 Internal Server Error
Content-Type: text/html; charset=UTF-8
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="robots" content="noindex,nofollow,noarchive" />
<title>An Error Occurred: Internal Server Error</title>
<style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
.container { margin: 30px; max-width: 600px; }
h1 { color: #dc3545; font-size: 24px; }
h2 { font-size: 18px; }</style>
</head>
<body>
<div class="container">
<h1>Oops! An Error Occurred</h1>
<h2>The server returned a "500 Internal Server Error".</h2>
<p>
Something is broken. Please let us know what you were doing when this error occurred.
We will fix it as soon as possible. Sorry for any inconvenience caused.
</p>
</div>
</body>
</html>
と表示されます。
コマンドを使うには別途設定や別ファイルが必要なのでしょうか?
ご教授いただければ幸いです。
よろしくお願いいたします。