0

clearing symfony2 cache on shared server with:

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

Gives me red box with error:

[RuntimeException]
sh:  :  command not found

It used to work before on the server, not sure what changed and how to correct this?

Tjorriemorrie
  • 16,818
  • 20
  • 89
  • 131

2 Answers2

0

I'd recommend to:

  1. Check that app/console has execute permissions
  2. Check that php is aliased to right php5-cli or whatever you use
Vitalii Zurian
  • 17,858
  • 4
  • 64
  • 81
  • I've set the permissions on console and ensured I'm using the right php; this was not the problem unfortunately. Thanks for answering. – Tjorriemorrie Jul 30 '12 at 07:15
0

It was with my parameters.ini. I'm not sure exactly what as I changed a few lines.

Tjorriemorrie
  • 16,818
  • 20
  • 89
  • 131