Search found 7 matches

by shihabkb
Tue Jan 25, 2011 2:58 am
Forum: PHP - Code
Topic: memcached ubuntu php doubt
Replies: 5
Views: 906

Re: memcached ubuntu php doubt

Thanks for your valuable answer. I was totally fed-up with this. After getting your answer I tried to install memcache library and made modification in the ini file. Now it is working fine. My following code is working fine. <?php error_reporting(-1); ini_set('display_errors', true); $memcache = new...
by shihabkb
Mon Jan 24, 2011 5:58 am
Forum: PHP - Code
Topic: memcached ubuntu php doubt
Replies: 5
Views: 906

Re: memcached ubuntu php doubt

I did the updatedb and changed the permission for memcached.so. Now locate command returns the path. But still the PHP warning : Module ‘memcached’ already loaded in Unknown on line 0 . in the error log and Fatal error: Class 'Memcache' not found in /home/hysanew/web/memcachetest.php on line is comi...
by shihabkb
Mon Jan 24, 2011 5:39 am
Forum: PHP - Code
Topic: memcached ubuntu php doubt
Replies: 5
Views: 906

Re: memcached ubuntu php doubt

Thanks for your answer. when I execute the command locate memcached.so it is not returning any file (ie, it is not finding any thing). But I found that file in the folder /usr/lib/php5/20090626+lfs. I have libxmpp.so also in the same folder. And when I execute the command locate libxmpp.so it finds ...
by shihabkb
Sun Jan 23, 2011 11:46 pm
Forum: PHP - Code
Topic: memcached ubuntu php doubt
Replies: 5
Views: 906

memcached ubuntu php doubt

Hi, I am trying to install memcached in Ubuntu 10.04. I have followed the instructions from the site http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/ to installation. After installation I can access memcached thru telnet and I executed stats command. It is working pr...
by shihabkb
Wed Jan 19, 2011 11:27 pm
Forum: PHP - Code
Topic: memcache php doubt
Replies: 6
Views: 1449

Re: memcache php doubt

I am using memcached.exe version = 1.2.6.0 and extension (php_memcache.dll) version = 2.2.5.0. And when I tried with error reporting enabled, I got the following error. <code> error_reporting(-1); ini_set('display_errors', true); </code> <code> Memcache::getversion() [memcache.getversion]: Server 12...
by shihabkb
Wed Jan 19, 2011 7:23 am
Forum: PHP - Code
Topic: memcache php doubt
Replies: 6
Views: 1449

Re: memcache php doubt

Thanks for your reply.

I tried print_r($memcache->getVersion());

But no change... Its printing nothing... any other ways?
by shihabkb
Wed Jan 19, 2011 12:45 am
Forum: PHP - Code
Topic: memcache php doubt
Replies: 6
Views: 1449

memcache php doubt

Hi, I am trying to incorporate caching for my restful web services written in php. I am going to use memcache as cache server. I have installed the memcache. I followed the page http://shikii.net/blog/installing-memcached-for-php-5-3-on-windows-7/ for the installation. After installation I am trying...