Davidb987
Davidb987

Reputation: 1

Error when clearing cache symfony

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

Upvotes: 0

Views: 557

Answers (2)

Bogdan Mantescu
Bogdan Mantescu

Reputation: 121

if you are using Symfony 2, then try

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

Upvotes: 0

Hugo do Carmo
Hugo do Carmo

Reputation: 189

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} 

Upvotes: 1

Related Questions