Pentaerythritol/quaternary ammonium eutectic mixture as an ionic solvent: the quaternary ammonium cations can be easily controlled to exert their structure-directing effect in ionothermal synthesis of aluminophosphate microporous materials.