Memcache and turcke mmcache php problems

DJ Matlock jmat@shutdown.net
Wed, 14 Jul 2004 18:40:41 -0400


> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3172675243_63314
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

I use turck mmcache (the latest) and the PECL memcache module with no
problems on my production cluster under Linux 2.6.7, Apache 2.0.48, php 5.0
CVS, in prefork; it also works well on my development box: MacOSX (Darwin
7.4.0) Apache 2.0.50, PHP 5 (Release), in worker... But both of those are
pretty far from what you=B9re running.

I would venture to guess that all of your problems stem from the version of
PHP that you=B9re running. It=B9s quite old (and full of some pretty nasty
security holes).  The ZEND API has changed considerably between 4.3.4 and
4.3.8 (the current version).  You should definitely look into upgrading to
4.3.8 and Turck mmcache 2.4.6 if you can =8B I would bet that solve your
problem.

Let me repeat that... Anything before 4.3.8 have some major security holes
in them.. -hint hint-.

Also, there were some weird shared memory issues with RH8=B9s glibc =8B make
sure you=B9ve got the latest updates for those =8B they=B9re definitely munge up
turck. (although I don=B9t even know if RH supports 8 anymore?).

Another thing you might want to try is start with a completely virgin
install of PHP =8B make all of your modules compile as external libraries...
Then slowly add one in at a time and see if it starts.  I saw some problems
with the mysql module under 4.3.5 and turckmm a while back...  This was how
I found it (it worked fine before mysql was inserted into the config).



On 7/14/04 12:53 PM, "Michael Weck" <mweck@bellsouth.net> wrote:

> Hi,=20
>=20
> Has anyone implemented memcache along side with mmcache (turck php accele=
rator
> http://turck-mmcache.sourceforge.net <http://turck-mmcache.sourceforge.ne=
t> )?
>=20
> I am running redhat 8.0 with apache 1.3.31 and php 4.3.4. The mmcache sta=
tus
> script shows multiple copies of some of the files, which it did not do be=
fore
> I added the PECL memcache module to the php configuration.
>=20
> I don=B9t see any configuration settings to let me rename the memory space =
or
> reference. I think it has something to do that they are both related from=
 a
> point a while back.
>=20
> Best Regards,=20
>=20
> Michael Weck=20
>=20



--B_3172675243_63314
Content-type: text/html;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<HTML>
<HEAD>
<TITLE>Re: Memcache and turcke mmcache php &nbsp;problems</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:12.0px'>I use=
 turck mmcache (the latest) and the PECL memcache module with no problems on=
 my production cluster under Linux 2.6.7, Apache 2.0.48, php 5.0 CVS, in pre=
fork; it also works well on my development box: MacOSX (Darwin 7.4.0) Apache=
 2.0.50, PHP 5 (Release), in worker... But both of those are pretty far from=
 what you&#8217;re running.<BR>
<BR>
I would venture to guess that all of your problems stem from the version of=
 PHP that you&#8217;re running. It&#8217;s quite old (and full of some prett=
y nasty security holes). &nbsp;The ZEND API has changed considerably between=
 4.3.4 and 4.3.8 (the current version). &nbsp;You should definitely look int=
o upgrading to 4.3.8 and Turck mmcache 2.4.6 if you can &#8212; I would bet =
that solve your problem.<BR>
<BR>
Let me repeat that... Anything before 4.3.8 have some major security holes =
in them.. -hint hint-.<BR>
<BR>
Also, there were some weird shared memory issues with RH8&#8217;s glibc &#8=
212; make sure you&#8217;ve got the latest updates for those &#8212; they&#8=
217;re definitely munge up turck. (although I don&#8217;t even know if RH su=
pports 8 anymore?).<BR>
<BR>
Another thing you might want to try is start with a completely virgin insta=
ll of PHP &#8212; make all of your modules compile as external libraries... =
Then slowly add one in at a time and see if it starts. &nbsp;I saw some prob=
lems with the mysql module under 4.3.5 and turckmm a while back... &nbsp;Thi=
s was how I found it (it worked fine before mysql was inserted into the conf=
ig).<BR>
<BR>
<BR>
<BR>
On 7/14/04 12:53 PM, &quot;Michael Weck&quot; &lt;mweck@bellsouth.net&gt; w=
rote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYL=
E=3D'font-size:12.0px'>Hi, <BR>
<BR>
Has anyone implemented memcache along side with mmcache (turck php accelera=
tor <FONT COLOR=3D"#0000FF"><U><a href=3D"http://turck-mmcache.sourceforge.net">=
http://turck-mmcache.sourceforge.net</a></U></FONT> <a href=3D"http://turck-mm=
cache.sourceforge.net">&lt;http://turck-mmcache.sourceforge.net&gt;</a> )? <=
BR>
<BR>
I am running redhat 8.0 with apache 1.3.31 and php 4.3.4. The mmcache statu=
s script shows multiple copies of some of the files, which it did not do bef=
ore I added the PECL memcache module to the php configuration. <BR>
<BR>
I don&#8217;t see any configuration settings to let me rename the memory sp=
ace or reference. I think it has something to do that they are both related =
from a point a while back.<BR>
<BR>
Best Regards, <BR>
<BR>
Michael Weck <BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STY=
LE=3D'font-size:12.0px'><BR>
</SPAN></FONT>
</BODY>
</HTML>


--B_3172675243_63314--