ubuntu虚拟机上装 php失败

问答中心分类: OneinStackubuntu虚拟机上装 php失败
jingling0101 asked 8 年 ago
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
PHP install failed, Please Contact the author!
Killed
l@ubuntu:~/soft/oneinstack$ /bin/cp: cannot stat 'sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
update-rc.d: error: initscript does not exist: /etc/init.d/php-fpm
Failed to start php-fpm.service: Unit php-fpm.service not found.

3 Answers
jingling0101 answered 8 年 ago
16.04

oneinstack answered 8 年 ago
安装php版本多少?

jingling0101 answered 8 年 ago
5.6  重装了一次现在 好了。