• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

rene1

New Pleskian
Hello support,

I use Ubuntu 14.04 with Plesk 17 and apache, nginx.
In the Plesk general PHP 5.6.29 settings the module redis was enabled so I activated redis in all drop down menues from the WordPress Plug-in W3 Total cache.
Now I got hundred times this error.

Dec 14, 10:47:23 Redis server went away

How can I reactive the redis server?
Can redis auto-restart?
Why is it crashing?
I only use your tool with redis.

Best regards,

Rene
 
Hi rene1,

the information might surprise you, but installing a module/extension for PHP doesn't include the installation of a ( possible ) redis - server.

To install "redis - server" on Ubuntu, you could use:
Code:
aptitude install redis-server
Afterwards, you have the option to start/stop/restart your redis - server with the example command: service redis start / stop / restart​
 
After the redis-server install, check the redis configuration in /etc/redis/redis.conf to make sure it's bind to 127.0.0.1.

And if you want the redis extension for php7 :

Code:
apt-get update && apt-get install gcc make autoconf libc-dev pkg-config plesk-php70-dev -y 
cd /opt/plesk/php/7.0/include/php/ext
wget -O phpredis-php7.zip https://github.com/phpredis/phpredis/archive/php7.zip
unzip phpredis-php7.zip
cd phpredis-php7
/opt/plesk/php/7.0/bin/phpize
./configure --with-php-config=/opt/plesk/php/7.0/bin/php-config
export CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
make
make install
ls -la /opt/plesk/php/7.0/lib/php/modules/
echo "extension=redis.so" >/opt/plesk/php/7.0/etc/php.d/redis.ini
/usr/local/psa/bin/php_handler --reread
service plesk-php70-fpm restart
 
Hello,

thanks for your support.
I´m new in Linux so sorry for my stupid questions.
Yes, i´ve checked my server and I found out that redis-server was not installed.
So I installed redis-server.
I can start and stop the redis server with service redis-server start / stop (not with service redis start / stop).
/etc/redis/redis.conf to make sure it's bind to 127.0.0.1. - yes it is bind correctly ;-)

Now I executed the code from VirtuBox line by line in my ssh box.
It seems that everything is working till the last line.

I´ve tried to service plesk-php70-fpm restart, but I got the error message [fail].
Stopping the service is working
but starting with "service plesk-php70-fpm start" the message is:
* Starting PHP FastCGI Process Manager php-frm ---> [fail].

What shall I do?

Best regards,

Rene
 
Have you a website which use php7.0-fpm ?
If not Plesk may not start the service if it's not needed
 
Yes you are right.
There is no website running php 7 except a domain with no content and default Plesk webpage.

By the way.
Now I use php 5.6.29 FRM and have checked redis and memcache in the php extentions.

Do they harm each other?

Can I also add memcached with [d] without any conflict to redis and memcache?
I want to test other WordPress Caching Tools without redis support, too.

How can I install and bind memcached to php and Plesk?

What happen when I use any install instruction from the web for Ubuntu but not with Plesk included?
Does Plesk malfunction because he didn´t knew about the installation?
Do I have to bind everything with Plesk?

I found also some installation instruction for Google pagespeed but not in combination with Plesk.

Best regards,

Rene
 
Memcached and redis can be used on the same server without any trouble, but memcached is not fast as redis, it only store cache in memory.

You can read more about that : http://devdocs.magento.com/guides/v2.1/config-guide/redis/config-redis.html#why-redis-is-better

For the extension like redis or memcached for php7, it's fully supported by Plesk as we run the command
Code:
/usr/local/psa/bin/php_handler --reread
after we add a new php extension.

Google Pagespeed will use a lot of resources without making your website loading faster.
 
Back
Top