92206/how-to-check-if-memcache-or-memcached-is-installed-for-php
Memcache is a caching daemon designed especially for dynamic web applications to decrease database load by storing objects in memory so how do I test if memcache or memcached (for PHP) is installed on my Apache webserver?
Hii,
You can look at phpinfo() or check if any of the functions of memcache is available. Ultimately, check whether the Memcache class exists or not.
e.g.
if(class_exists('Memcache')){ // Memcache is enabled. }
Hope it helps!!
Thank You!!
Can someone please suggest to me an ...READ MORE
Hello @kartik, Try below code snippet if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) ...READ MORE
Hello, Try this without regular expressions: <?php ...READ MORE
Hello @kartik, It seems that you need scandir instead of ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello kartik, Use session_id(), it returns an empty string ...READ MORE
Hello @kartik, Use JSON.parse function isJson(str) { ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.