A high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load. Well implemented, it can drops the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful.
Then i edit the 'host', 'port', 'port','username' and 'password'.
Once i run in web browser, it shows error below
Fatal error: Uncaught Phpfastcache\Exceptions\PhpfastcacheDriverConnectException: Mongodb failed to connect with the following error message: "Authentication failed." line 114 in /vendor/mongodb/mongodb/src/Command/ListCollections.php in /vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Core/Pool/DriverBaseTrait.php:82 Stack trace: #0 /vendor/phpfastcache/phpfastcache/lib/Phpfastcache/CacheManager.php(190): Phpfastcache\Drivers\Mongodb\Driver->__construct() #1 test.php(25): Phpfastcache\CacheManager::getInstance() #2 {main} thrown in /vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Core/Pool/DriverBaseTrait.php on line 82
I try to use https://github.com/PHPSocialNetwork/phpfastcache/blob/master/docs/examples/mongodb.php
Then i edit the 'host', 'port', 'port','username' and 'password'.
Once i run in web browser, it shows error below
Fatal error: Uncaught Phpfastcache\Exceptions\PhpfastcacheDriverConnectException: Mongodb failed to connect with the following error message: "Authentication failed." line 114 in /vendor/mongodb/mongodb/src/Command/ListCollections.php in /vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Core/Pool/DriverBaseTrait.php:82 Stack trace: #0 /vendor/phpfastcache/phpfastcache/lib/Phpfastcache/CacheManager.php(190): Phpfastcache\Drivers\Mongodb\Driver->__construct() #1 test.php(25): Phpfastcache\CacheManager::getInstance() #2 {main} thrown in /vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Core/Pool/DriverBaseTrait.php on line 82