0

I'm trying to clear cache after editing .yml files

First I locate installation folder using this command: cd directory-path-here

Then I enter:

php bin/console cache:clear --env=dev
php bin/console cache:clear --env=prod

But I get this error:

Cannot load the ionCube PHP Loader - extension already loaded Could not open input file: bin/console

2 Answers 2

1

You are loading the ionCube Loader twice in your environment, check your php.ini and loaded modules for php.

grep -rniP ioncube {/etc/php*,/path/to/project} 
Sign up to request clarification or add additional context in comments.

Comments

0

if you are using Symfony 2, then try

php app/console cache:clear --env=dev

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.