ubuntu虚拟机上装 php失败

问答中心分类: OneinStackubuntu虚拟机上装 php失败
jingling0101 asked 5年 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!
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 5年 ago

oneinstack answered 5年 ago

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