Drupal and Wordpress are PHP-based are they not?
Correct. They are Content Management Systems (CMS) written in PHP.