打印

Amazon EC2实例只有1G内存,是否会导致PHP安装失败?

Amazon EC2实例只有1G内存,是否会导致PHP安装失败?

Amazon EC2实例只有1G内存,是否会导致LNMP 1.5 PHP安装失败?安装日志在附件里。

Linux实例版本如下:

uname -a
Linux ip-172-31-32-136 4.14.62-65.117.amzn1.x86_64 #1 SMP Fri Aug 10 20:03:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

安装完毕的错误信息:

Starting php-fpm /etc/init.d/php-fpm: line 57: /usr/local/php/sbin/php-fpm: No such file or directory
failed
============================== Check install ==============================
Checking ...
Nginx: OK
Do not install MySQL/MariaDB.
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
附件: 您所在的用户组无法下载或查看附件

TOP

引用:
/home/ec2-user/lnmp1.5/lnmp1.5/lnmp1.5/src/php-7.2.6/Zend/zend_portability.h:312:52: note: in definition of macro ‘UNEXPECTED’
# define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
                                                    ^
/home/ec2-user/lnmp1.5/lnmp1.5/lnmp1.5/src/php-7.2.6/Zend/zend_operators.h: In function ‘void fast_long_sub_function(zval*, zval*, zval*)’:
/home/ec2-user/lnmp1.5/lnmp1.5/lnmp1.5/src/php-7.2.6/Zend/zend_operators.h:657:80: error: ‘__builtin_ssubl_overflow’ was not declared in this scope
  if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) {
                                                                                ^
/home/ec2-user/lnmp1.5/lnmp1.5/lnmp1.5/src/php-7.2.6/Zend/zend_portability.h:312:52: note: in definition of macro ‘UNEXPECTED’
# define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
                                                    ^
make: *** [ext/intl/intl_convertcpp.lo] Error 1
不大清楚原因,建议换其他发行版试试

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP