note 70760 added to ref.memcache
| From: | ed at me3inc dot com | Date: | Thu, 26 Oct 2006 21:47:20 +0000 |
| Subject: | note 70760 added to ref.memcache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119150@lists.php.net to get a copy of this message | ||
Re. Installing the memcache extension:
I had all kinds of troubles getting it hooked up, because in all of the instructions I read I never
got the last, most important step - you must have a php.ini and have in it
"extension=memcache.so."
So, the steps:
First - ./configure with --enable-memcache. This should show in your phpinfo() at the top (even
though nothing of the memcache extension works yet).
Second:
either pecl install memcache
OR
download the source
tar -xzvf [thesourcetarball]
phpize
./configure
make
make install
Finally: Add extension=memcache.so to your php.ini. (If you don't have one, it should go in the
root of where php is called ie., /usr/local/lib)
Call phpinfo() and you should see a memcache section.
----
Server IP: 216.194.113.175
Probable Submitter: 68.14.224.203
----
Manual Page -- http://www.php.net/manual/en/ref.memcache.php
Edit -- https://master.php.net/note/edit/70760
Del: integrated -- https://master.php.net/note/delete/70760/integrated
Del: useless -- https://master.php.net/note/delete/70760/useless
Del: bad code -- https://master.php.net/note/delete/70760/bad+code
Del: spam -- https://master.php.net/note/delete/70760/spam
Del: non-english -- https://master.php.net/note/delete/70760/non-english
Del: in docs -- https://master.php.net/note/delete/70760/in+docs
Del: other reasons-- https://master.php.net/note/delete/70760
Reject -- https://master.php.net/note/reject/70760
Search -- https://master.php.net/manage/user-notes.php