PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, November 13, 2022

[FIXED] How to find where the memcached on Mac OS is installed?

 November 13, 2022     macos, macports, memcached     No comments   

Issue

How to find the location of the installed Memcached server on mac, which is installed using the MacPorts tool?

I want to restart the Memcache server, in verbose mode.

This Memcache server is automatically getting restarted, even though I killed it.


Solution

Memcached from MacPorts installs a launchd plist file. If that is loaded, launchd will always restart memcached when it notices it is terminated (this is default launchd behavior).

Use sudo port load memcached/sudo port unload memcached to activate/deactive this launchd plist.

If the plist is unloaded, you can manually start memcached using the binary. You can find the binary using port contents memcached | grep -E /s?bin/.



Answered By - neverpanic
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing