As far as I know, you get the PharmD degree when you graduate from an accredited pharmacy school in the US. A person with the PharmD degree needs to go through NALPELX and a state board exam if required by the state law.
On the other hand, the FPGEC certificate (FPGEE is the test required for the FPGEC certificate) is the first step to get the US pharmacist license for pharmacists who graduated and got a pharmacist license from other countries than US. Foreign pharmacists who want to practice in the US and have a FPGEC certificate, are eligible for internship in any state of the US. The internship hours required may vary depending on a state. For example, California requires 1500 hours internship. (A PharmD degree holder usually fulfill the internship requirement when they are in the pharmacy school, working during summer break.) When the candidate satisfies it, she/he is eligible for the pharmacist license test (NALPEX). After then, there would be a state board exam depending on a state.
That's what I know. Please correct me if I presented false information.
Hopefully it helps.