A 49-year-old man was shot by police Monday in North Philadelphia after he allegedly threatened them with a knife and did not stop after being zapped twice with a Taser, police said.

About 5:24 p.m., 22d District officers responded to reports of a violent and disoriented man at a corner store in the 2200 block of Cecil B. Moore Avenue, said Chief Inspector Scott Small.

Uniformed officers entering the store were confronted by a man lunging at them with a folding knife, Small said. The man had allegedly chased six people out of the store with the knife.

The officers ordered the man to drop the knife and shot him twice with a Taser, which had no effect on the man, Small said.

One of the officers fired his gun, striking the man twice in his upper torso, Small said.

"After being shot, he continued to fight with the officers," Small said.

The officer were able to disarm the man and place him in custody, after which he was taken to Hahnemann University Hospital, where he was listed in stable condition.

No one else was hurt.

"The police were lucky. The customers were lucky," Small said.

The man appeared to be under the influence during the confrontation, Small said.

The shooting is being investigated by Internal Affairs.