It happened around 9:30 p.m. at Holden Tower on the 4400-block of Holden Street.
Authorities say the injuries to the residents and officers are due to smoke inhalation and heat exhaustion.
Firefighters said there was light smoke on all 19 floors of the building when they arrived on the scene.
They soon discovered a fire in the lower part of the trash chute from the third floor down.
Firefighters said the sprinklers were activated.
Fire crews took a water line to the fourth floor trash chute and flooded it. They also stretched it to the 15th floor and flooded the trash chute from there as an extra safety measure.
The elevators automatically come straight to the lobby in the event of fire. Some Holden Tower residents with mobility issues were carried out by those in other apartments.
Firefighters went to some individual units.
"We did make some forcible entry on some units. We received calls from our fire communication center and fire department units. We went to those apartments to check on those residents," Philadelphia Fire Assistant Chief Harry Bannan said.
Chopper 6 captured one man scaling down the 19-story building. Luckily, he made it down safely.
Residents had to evacuate the building but were allowed back inside later in the night.
The fire was officially placed under control at 10:56 p.m.