Index: DB/API_REST/mem_connect.php |
diff --git a/DB/API_REST/mem_connect.php b/DB/API_REST/mem_connect.php |
new file mode 100755 |
index 0000000000000000000000000000000000000000..c317611a457277312287dafe9d3d42328cc780e5 |
--- /dev/null |
+++ b/DB/API_REST/mem_connect.php |
@@ -0,0 +1,10 @@ |
+<?php |
+$memcache_host = "127.0.0.1"; |
+$memcache_port = '11211'; |
+$memcache = new Memcached; |
+$memcache->addServer($memcache_host,$memcache_port); |
+//system('for pid in $(ps -ef |grep [t]hread_database | awk \'{print $2}\'); do kill -9 $pid; done'); |
+//Start the thread |
+//exec('php7.0 thread_database.php > /dev/null 2>/dev/null &'); |
+?> |
+ |