用sudo apt-get install php7.0 安装的
输入php7.0-v 查看
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_openssl.dll' - /usr/lib/php/20151012/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 7.0.8-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.8-0ubuntu0.16.04.1, Copyright (c) 1999-2016, by Zend Technologies
我已经在php.ini打开了php_openssl.dll,最后我查看了一下 确实找不到php_openssl.dll这个动态库
dll是windows下的动态库,不要打开这个选项
ubuntu 16.04下 apt-get install php就能够安装php7.0
openssl使用apt-get install openssl
php配置损坏就用apt purge php卸载php 然后再装一遍