diff --git a/composer.json b/composer.json index f08e070..74f153d 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "authors": [ { "name": "Dave Mc Nicoll", - "email": "mcndave@gmail.com" + "email": "info@mcnd.ca" } ], "require": { diff --git a/src/ApcuCache.php b/src/ApcuCache.php index c160875..7bbadd3 100644 --- a/src/ApcuCache.php +++ b/src/ApcuCache.php @@ -22,7 +22,7 @@ class ApcuCache implements CacheInterface ) { if (! apcu_enabled() ) { throw new class extends \Exception implements CacheException{ - public function __construct(string $message = "APCu extension is required to operate this class.", int $code = 0, ? \Throwable $previous = null) + public function __construct(string $message = "APCu extension is required to operate this class. If you operate this script from the CLI, use make sure apc.enable_cli is enabled in your php.ini (or set by your server).", int $code = 0, ? \Throwable $previous = null) { parent::__construct($message, $code, $previous); }