You can develop Ionic apps on any operating system you prefer. In fact, Ionic has been developed at various times on Mac OS X, Linux, and Windows. However, right now you'll need to use the command line in order to follow this guide and you must have OS X in order to develop and deploy iPhone apps, so OS X is recommended if possible.
apt-get install php5-imap
и есть установка уже скомпилированного расширения.sudo php5enmod imap
и рестартануть web-сервер.