Click here to get back home

Shared memory solution for PHP working from command line too

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Shared memory solution for PHP working from command line too Alexey Kulentsov 06-16-2008
Get Chitika Premium
Posted by Alexey Kulentsov on June 16, 2008, 8:04 am
Please log in for more thread options
Hi All!

Is here any solution? APC and shm_ functions doesn't work from command
line but I need it.

Posted by C. (http://symcbean.blogspot.c on June 16, 2008, 9:27 am
Please log in for more thread options
> Hi All!
>
> Is here any solution? APC and shm_ functions doesn't work from command
> line but I need it.

I'm not surprised APC (I'm assuming you are refering to the
Alternative PHP Cache) doesn't work from the command line - the
process only runs once for each script.

As for shm_ functions they should. Most likely you've not set the
permissions right. But you haven't quoted any error message or
indication of why you think they are not working - read this:

http://catb.org/~esr/faqs/smart-questions.html

C.

Similar ThreadsPosted
some help with Shared Memory October 13, 2008, 9:38 pm
Shared Memory Limit? July 22, 2004, 7:58 pm
shared memory confusion September 10, 2004, 1:46 am
php / c integration via shared memory August 20, 2005, 9:28 pm
Shared memory between 2 processes??? November 29, 2006, 6:21 am
PHP Shared Memory (shmop) problem July 10, 2008, 11:14 am
Saving Temp Files in Shared Memory November 28, 2005, 7:33 am
CLI ( command-line ) PHP displaying source code in-line when program is executed February 12, 2006, 9:03 am
on line store solution April 15, 2005, 3:47 am
Solution to display on a web page each second a new line wanted August 2, 2008, 9:12 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap