操作系统。对于开发友好的操作系统,我们首先推荐MacOS操作系统。首先,MacOS是一个对开发者非常友好的Unix环境,图形界面非常稳定。其次,如果要使用GNU/Linux操作系统作为开发环境,建议使用最新版本的openSUSE/Ubuntu/deepin等GUI友好的操作系统。PHP环境编译在开发zendAPI项目时,我们没有使用PHP的其他扩展,所以编译时使用默认选项。zendAPI单元测试需要使用embedSAPI构建。同时,为了避免不必要的麻烦,我们开启了线程安全选项。MacOS平台PHP编译选项--prefix=/usr/local/php-7.1.5--enable-embed=dylib--enable-maintainer-zts--with-tsrm-pthreads--enable-debug--with-config-file-path=/usr/local/php-7.1.5/etc/--with-config-file-scan-dir=/usr/local/php-7.1.5/etc/conf.d/Linux平台PHP编译选项--prefix=/usr/local/php-7.1.5--enable-embed=shared--enable-maintainer-zts--with-tsrm-pthreads--enable-debug--with-config-file-path=/usr/local/php-7.1.5/etc/--with-config-file-scan-dir=/usr/local/php-7.1.5/etc/conf.d/
