Title: Php fatal error
Last modified: February 1, 2025

---

# Php fatal error

 *  Resolved [Leonidas](https://wordpress.org/support/users/visionoptika/)
 * (@visionoptika)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-457/)
 * Hello
 * I tried to install the new version but is impossible due to a php fatal error.
 * [https://prnt.sc/KjvdjQ0QFY-Y](https://prnt.sc/KjvdjQ0QFY-Y)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Matthias Kittsteiner](https://wordpress.org/support/users/kittmedia/)
 * (@kittmedia)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-457/#post-18278525)
 * Hi [@visionoptika](https://wordpress.org/support/users/visionoptika/),
 * according to the error, you’ve configured Redis as cache source. However, your
   Redis server is configured to require authentication. This, however, is not supported
   by Cachify, which in the end produces this error.
 * If you disable authentication for your Redis server, it should work just fine.
 * Best regards,
   Matthias
 *  Thread Starter [Leonidas](https://wordpress.org/support/users/visionoptika/)
 * (@visionoptika)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-457/#post-18278532)
 * Thank you very much for your answer. Have a nice day
 * Leonidas
 *  [Stefan Kalscheuer](https://wordpress.org/support/users/stklcode/)
 * (@stklcode)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-457/#post-18278549)
 * Actually, it _is_ supported. Documentation lacks little bit behind.
 *     ```wp-block-code
       add_filter( 'cachify_redis_servers', function( $server ) {    // default: $server = [ 'localhost ']    return [      '127.0.0.1',  // host/ip/path (required)      6379,         // port 6379 by default, -1 for socket      2.0,          // timeout in seconds      null,         // unused      0,            // retry interval in milliseconds      3.0,          // read timeout in seconds      [ 'auth' => [ 'username', 'password' ] ]     ];} );
       ```
   
 * Supporeted since PHPRedis 5.3, see [https://github.com/phpredis/phpredis/tree/5.3.7?tab=readme-ov-file#connect-open](https://github.com/phpredis/phpredis/tree/5.3.7?tab=readme-ov-file#connect-open)
 * **BUT:** apparently there’s a bug in v2.4.0, so the last parameter is rejected.
   
   Validation is also limited to PHPRedis 5.x syntax, not 6.x…
 * We will fix this in 2.4.1. (issue [#315 (GitHub)](https://github.com/pluginkollektiv/cachify/issues/315))
 * … and probably also should improve error handling, so it does fail gracefully
   with an admin notice instead of passing the PHP error. ([#316](https://github.com/pluginkollektiv/cachify/issues/316))
 * Cheers,
   Stefan
 *  [Stefan Kalscheuer](https://wordpress.org/support/users/stklcode/)
 * (@stklcode)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-457/#post-18336393)
 * Issue with config validation is now fixed in 2.4.1 so the example above should
   work if you require authentication for Redis.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Php fatal error’ is closed to new replies.

 * ![](https://ps.w.org/cachify/assets/icon-256x256.png?rev=2505413)
 * [Cachify](https://wordpress.org/plugins/cachify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cachify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cachify/)
 * [Active Topics](https://wordpress.org/support/plugin/cachify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cachify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cachify/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Stefan Kalscheuer](https://wordpress.org/support/users/stklcode/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-457/#post-18336393)
 * Status: resolved