Example:

 Cache::config('default', array(
              'engine' => 'Memcache', //[required]
              'duration'=> 30, //[optional]
              'servers' => array('192.168.1.11:11211 '),
              'compress' => false,
      ));

use your server IP

On Feb 11, 11:43 pm, Kareem Sabri <[email protected]> wrote:
> Hello,
>
> Hopefully someone can help me out here.
>
> I have installed Memcached and all its dependencies. I have verified
> it is running correctly and I can connect via port 11211 (in command
> line, not with cake)
>
> My core.config is the default:
>
>         Cache::config('default',
>                 array(
>                         'engine' => 'Memcache',
>                         'duration' => 30
>                 )
>         );
>
> I am running on a Linux box, no issues with Windows I saw on some
> other threads. And I haven't modified the default directory structure
> at all, everything is currently in my public_html directory.
>
> However, I get: Warning (512): Cache not configured properly. Please
> check Cache::config(); in APP/config/core.php [CORE/cake/libs/
> configure.php, line 663] and Cake falls back to using the FileEngine
> for Cacheing.
>
> Any help would be greatly appreciated, thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to