ubuntu虚拟机上装 php失败

问答中心分类: OneinStackubuntu虚拟机上装 php失败
jingling0101 提问 2年 前

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.