Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Smoker2

    (@smoker2)

    Also, my site is comprised mostly of articles and images. How much impact would object cache have?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Do you have Redis daemon process running ?

    Best regards,

    Thread Starter Smoker2

    (@smoker2)

    I have no idea. Sorry, I’m not tech savvy.
    Do I need SSH access to do all these things?

    Also, could you answer this:

    Also, my site is comprised mostly of articles and images. How much impact would object cache have?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Yes, you will need SSH with root access to do this.

    but if you are on shared hosting , then this is probably won’t be possible.

    I can’t say, depends on your site set up , and I couldn’t even guesstimate it.

    but once the page is cached , object cache won’t do much good , it only shows benefits when cache miss.

    Best regards,

    Thread Starter Smoker2

    (@smoker2)

    I’m on a Shared hosting, so I don’t have SSH. Is there another way to check this?

    BTW, here’s the log that was created. I replaced the IP and domain:

    08/18/20 00:19:51.334 [192.168.1.1:58733 1 0j5] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin.php
    08/18/20 00:19:51.334 [192.168.1.1:58733 1 0j5] Query String: page=litespeed-toolbox
    08/18/20 00:19:51.334 [192.168.1.1:58733 1 0j5] HTTP_REFERER: https://www.example.com/wp-admin/admin.php?page=litespeed-toolbox
    08/18/20 00:19:51.334 [192.168.1.1:58733 1 0j5] Cookie _lscache_vary: 415b4aa1423af0c60af756cf7ae551ce
    08/18/20 00:19:51.910 [192.168.1.1:58733 1 0j5] [Core] Bypassed due to debug disable all setting
    08/18/20 00:19:52.077 [192.168.1.1:58733 1 0j5] [Ctrl] X Cache_control -> no Cache ( Admin page )
    08/18/20 00:19:52.077 [192.168.1.1:58733 1 0j5] [Router] LSCWP_CTRL: save-settings
    08/18/20 00:19:52.078 [192.168.1.1:58733 1 0j5] [Router] LSCWP_CTRL verified: 'save-settings'
    08/18/20 00:19:52.078 [192.168.1.1:58733 1 0j5] [Settings] saving
    08/18/20 00:19:52.112 [192.168.1.1:58733 1 0j5] [Purge] added *
    08/18/20 00:19:52.112 [192.168.1.1:58733 1 0j5] X-LiteSpeed-Purge: public,29a_
    08/18/20 00:19:52.116 [192.168.1.1:58733 1 0j5] [Purge] added MIN
    08/18/20 00:19:52.116 [192.168.1.1:58733 1 0j5] X-LiteSpeed-Purge: public,29a_
    08/18/20 00:19:52.116 [192.168.1.1:58733 1 0j5] [Purge] added LOCALRES
    08/18/20 00:19:52.116 [192.168.1.1:58733 1 0j5] X-LiteSpeed-Purge: public,29a_
    08/18/20 00:19:52.117 [192.168.1.1:58733 1 0j5] [Purge] Failed to flush object cache due to object cache not enabled
    08/18/20 00:19:52.117 [192.168.1.1:58733 1 0j5] [Purge] Failed to reset opcode cache due to opcache not enabled
    08/18/20 00:19:52.117 [192.168.1.1:58733 1 0j5] [Purge] Purge all ( conf changed [id] debug-disable_all )
    08/18/20 00:19:52.121 [192.168.1.1:58733 1 0j5] [Settings] Update .object_cache.ini and flush object cache
    08/18/20 00:19:52.121 [192.168.1.1:58733 1 0j5] [Object] copying object-cache.php file to /home/example/public_html/wp-content/object-cache.php
    08/18/20 00:19:52.122 [192.168.1.1:58733 1 0j5] [Object] Reconnecting
    08/18/20 00:19:52.122 [192.168.1.1:58733 1 0j5] [Object] init with cfg result : --- true
    08/18/20 00:19:52.122 [192.168.1.1:58733 1 0j5] [Object] connecting to localhost:6379
    08/18/20 00:19:52.122 [192.168.1.1:58733 1 0j5] [Object] Init Redis connection
    08/18/20 00:19:52.123 [192.168.1.1:58733 1 0j5] [Object] Failed to connect Redis server!
    • This reply was modified 4 years, 3 months ago by Smoker2.
    Thread Starter Smoker2

    (@smoker2)

    Still looking for a solution.
    I created a file with this code and tried accessing it:

    <?php 
       //Connecting to Redis server on localhost 
       $redis = new Redis(); 
       $redis->connect('127.0.0.1', 6379); 
       echo "Connection to server sucessfully"; 
       //check whether server is running or not 
       echo "Server is running: ".$redis->ping(); 
    ?>

    I’m getting a blank screen.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    that means you don’t have redis process on this , there is no solution to this unless you have SSH access with root privileges , or contact your provider and if they are willing to get one for you.

    Best regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“Connection Test: Failed” when Object Cache Set to Redis’ is closed to new replies.