Phase 2 of the study is an open-label, randomized evaluation of the antitumor activity and safety of PX-866, administered at the MTD/RD identified in Phase 1 (8mg daily), in combination with docetaxel versus docetaxel alone in patients with locally advanced, recurrent, or metastatic NSCLC (Group 1) or patients with locally advanced, recurrent, or metastatic SCCHN (Group 2).