Published: Apr 07, 2012 8:23 PM EDT

TALLAHASSEE, Fla. (AP) - Florida pharmacists can now give vaccinations for pneumonia and shingles under a bill sign by Gov. Rick Scott.

The measure (HB 509) was signed into law Friday.

Florida joins 46 other states that already allow pharmacists to give the shots.

The new law is a compromise with doctors and includes a provision allowing the shots only if prescribed by a physician.

(Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)