Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Thomas P Posted January 11, 2016 Posted January 11, 2016 Hello, we are evaluating different caching mechanism with IP.Board 4.1.x. Thus we installed Redis 3.0.6 from here: http://redis.io/download Redis-server is up and listening on default port, but we seem to miss an appropriate PHP module for Redis: RedisIn order to use this method, the Redis extension must be installed on your server. The ACP option is still grayed out and I am asking which "Redis extension" is missing? Thanks, Thomas
Luis Manson Posted January 11, 2016 Posted January 11, 2016 Why are you using this instead of APC? i got this in debian php5-redis - PHP extension for interfacing with Redis *remeber to enable the module and restart php if needed
Ahmad E. Posted January 11, 2016 Posted January 11, 2016 Hey, you will need to install the php-redis extension. https://pecl.php.net/package/redis https://github.com/phpredis/phpredis
Thomas P Posted January 11, 2016 Author Posted January 11, 2016 Thanks Ahmad - that looks promising @Luis: I am just testing the different (new) caching mechanisms IPB 4.1.x comes with.
Get-Gaming Posted January 11, 2016 Posted January 11, 2016 Using redis, you can just install redis on ubuntu from the package, keep the port closed and fill in local up in ips. Works amazingly well.
Ahmad E. Posted January 11, 2016 Posted January 11, 2016 16 minutes ago, Cloud 9 said: Redis doesn't cache guests does it ? Quote When enabled, the entire page output will be cached so if more than one guest is viewing the site, each page only needs to be generated once which can significantly decrease the resource usage of your site if you have lots of guests online at the same time. The longer you cache pages for, the less often the cache will need to be refreshed (so less resources will be used) but the longer it will take for your site to be updated with the latest content. When a cached page is being shown, view counters also won't be updated. If your site rarely has many guests online at the same time, it may take more resources to store the cache than is saved by it and so it may be better to disable it.If you have a caching method configured that will be used, otherwise the cache is stored in the database. So yes redis will be used.
IveLeft... Posted January 11, 2016 Posted January 11, 2016 Hmmm, I read somewhere that only memcache would cache guests (IP4.x and read it here somewhere), strange - i will have to have a better read up.
Thomas P Posted February 4, 2016 Author Posted February 4, 2016 Thanks, I got it working on Apache using Redis Server with PHPRedis Modul. Redis server can be easily compiled: make PREFIX=/xyz/apps/redis-3.0.6/bin make install PREFIX=/xyz/apps/redis-3.0.6/bin Start the binary "redis-server" in the bin folder on your server. Then the PHPRedis module: phpize ./configure --with-php-config=/usr/local/bin/php-config make After that add the ready compiled module in your php.ini: extension = "/xyz/apps/redis-php/modules/redis.so" Integration into IPS 4.1.x is well built and works flawless in our testbed.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.