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. /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: *** Error 1
不大清楚原因,建议换其他发行版试试
页:
[1]