Make sure www/ap-php is built with ZTS enabled or disabled properly
(DATASET-1041).