Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I set up a soft link on my MAMP system like this

ln -s php5.3 php5

but I think it might have been the cause of system problems that just appeared

does anyone know how to undo it?

share|improve this question

migrated from Jun 2 '11 at 7:29

This question came from our site for professional and enthusiast programmers.

rm php5

The symbolic link is a file and can be removed by rm like regular files. This won't affect the target.

share|improve this answer

Use unlink instead of rm, it's much safer.

unlink php5
share|improve this answer

Delete the symbolic link like this:

rm -i php5
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.