kriswallsmith / assetic

Asset Management for PHP
MIT License
3.75k stars 555 forks source link

Fatal error: Call to undefined function Assetic\Cache\apc_exists() #324

Open ghost opened 12 years ago

ghost commented 12 years ago

Fatal error: Call to undefined function Assetic\Cache\apc_exists() in vendor\kriswallsmith\assetic\src\Assetic\Cache\ApcCache.php on line 28

stof commented 12 years ago

Looks like you are trying to use the ApcCache without having APC

beryllium commented 11 years ago

Perhaps it might make sense to give the ApcCache class a constructor that throws an exception if APC is not installed or enabled? I can look into that if you're interested.

kriswallsmith commented 11 years ago

I would rather not check dependencies at runtime.