drop pwsafe check. do_linux returns true. Use readlink to ensure we are checking the real file.
support php editing.