在php7.0环境中编辑报错:zend_smart_str.h: No such file or directory
原因,php-dev与当前环境版本不一致,卸载当前错误的dev(ubuntu: apt-get autoremove phpx.x-dev),安装对应php7.0-dev(ubuntu: apt-get install php7.0-dev)后即可。
在php7.0环境中编辑报错:zend_smart_str.h: No such file or directory
原因,php-dev与当前环境版本不一致,卸载当前错误的dev(ubuntu: apt-get autoremove phpx.x-dev),安装对应php7.0-dev(ubuntu: apt-get install php7.0-dev)后即可。