Questions tagged [Memcached] (134)

1
answer

Included pecl memcached, the site works, but admin not. What to do?

Turned caching via memcached pecl, the site works fine, but when attempting to connect to the admin site throws a 500 error. If the problem is in caching, admin, how to disable it? Preferably with a code example. --------------- The logs of nginx: 2020/04/02 12:40:00 [error] 17323#17323: *205 FastCGI sent in stderr: " PHP m...
glen asked April 16th 20 at 10:36
1
answer

Why WordPress shows error the wp-ffpc with was redirected from the pages without a slash on the slash?

Does not work with redirect pages without a slash on slash - WordPress displays an error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_ffpc_redirect_callback' not found or invalid function name in /home/k/user/website/public_html/wp-includes/class-wp-hook.php on line 288 Line 28...
roy asked April 9th 20 at 10:55
2
answers

Why doesn't the caching memcached in Bitrix at TimeWeb?

The website is hosting TimeWeb. To configure caching memcached have used this instruction. Using the test script shows that memcached is running: <?php if (!class_exists("Memcache")) exit("Memcached is not installed"); $memcache = new Memcache; $memcache->connect('localhost', 11211) or exit("unable to connect to Mem...
Emie.Grim asked April 8th 20 at 02:30
1
answer

How to install Memcached on OpenServer for PHP7.2-64x under Windows 10?

How to install Memcached on OpenServer for PHP7.2-64x under Windows 10? For earlier thanks a lot
Monica.Champlin24 asked April 7th 20 at 15:32
1
answer

Out session of how to fix it?

Store session in memcached, periodically fall off. My first thought was that he just peristere data, but from a dedicated gig of memory used up to 50%. Thought maybe the session will become rotten, and the garbage collector kills her, but no increase of the lifetime of the session has not solved the problem. Prompt in what ...
ima46 asked April 4th 20 at 13:45
0
answer

How to install memcache extension (php72, macos Catalina)?

All kind time of day! Trying to install memcache expansion for php72 on mac os catalina and get the following error! zlib is installedchecking for the location of zlib... configure: error: memcache support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are located ERROR: `/pr...
Hiram.Hagenes asked April 4th 20 at 12:35
4
answers

Show an example of warming up the cache for your project?

Hello. I have a web application that contains many unique pages. As is often the case, quickly formed a 10% pool of the most popular pages and is famously handled by memcached. The problem is that the project is dedicated to a very narrow area of Commerce and every visit is really very important and I feel that even when r...
Brooks.Ha asked April 4th 20 at 00:54
0
answer

How is a fixed expires for the cache?

If you add a value to the cache expires in 10 seconds and then refresh in 5 seconds this value it will hold for another 10 seconds. And if you continue to renew before the expiration expires , the value will remain forever. For example in Memcached there is a bug/feature - if you set the option OPT_BINARY_PROTOCOL somethin...
margarete_Ku asked April 3rd 20 at 17:38
2
answers

Memcached loves to clean up after yourself?

Hi. In fact, such a dilemma - memcached is running from www-data with 775 rights. The connection to the memcached is on the UDS at /var/run/memcached/memcached.sock. But when printed, the input device I enter reboot, and after I go to the server - memcached is not running, because there is no folder /var/run/memcached. Why?...
maeve1 asked April 3rd 20 at 16:54
2
answers

PHP/MySQL do I Need to do the caching of queries and how?

There is a page on the website, which works on the standard principle: 1. Made a few database queries to retrieve data. 2. The results of the samples are passed to the template which is rendered on the output HTML. 3. Give the HTML to the user. When performing queries to the database MySQL on a sample to see if the caching ...
Erich_West22 asked April 2nd 20 at 16:37