php老是不能安装,手工从后台安装也不能用,怎么解决?
如图所示,为手工从后台安装的,显示是红色的,不能变绿,怎么样才能解决这个问题?怎么样才能正确安装上PHP?安装日志 安装日志在这 admin 发表于 2023-10-26 19:27
安装日志
安装日志发了,能解决吗?谢谢! 安装php的日志。 admin 发表于 2023-10-27 01:10
安装php的日志。
++ grep processor
+ cpuCore=2
++ free -m
++ awk '{printf("%.f",($2)/1024)}'
++ grep Mem
+ MEM_INFO=12
+ '[' 2 '!=' 1 ']'
+ '[' 12 '!=' 0 ']'
+ '[' 2 -gt 12 ']'
+ '[' 2 -gt 2 ']'
+ cpuCore=1
+ echo /www/server/source/php/php80
/www/server/source/php/php80
+ '[' '!' -d /www/server/php/80 ']'
Traceback (most recent call last):
File "/www/server/mdserver-web/plugins/php/index.py", line 1027, in <module>
print(start(version))
File "/www/server/mdserver-web/plugins/php/index.py", line 328, in start
return phpOp(version, 'start')
File "/www/server/mdserver-web/plugins/php/index.py", line 301, in phpOp
file = initReplace(version)
File "/www/server/mdserver-web/plugins/php/index.py", line 269, in initReplace
phpFpmWwwReplace(version)
File "/www/server/mdserver-web/plugins/php/index.py", line 224, in phpFpmWwwReplace
os.mkdir(service_php_fpm_dir)
FileNotFoundError: No such file or directory: '/www/server/php/80/etc/php-fpm.d/'
ok
install PHP80 extend start
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
gd.sh: line 67: /www/server/php/80/bin/phpize: No such file or directory
gd.sh: line 68: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
iconv.sh: line 63: /www/server/php/80/bin/phpize: No such file or directory
iconv.sh: line 64: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
exif.sh: line 65: /www/server/php/80/bin/phpize: No such file or directory
exif.sh: line 66: ./configure: No such file or directory
cat: Makefile: No such file or directory
sed: can't read Makefile: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
intl.sh: line 92: /www/server/php/80/bin/phpize: No such file or directory
intl.sh: line 93: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
mcrypt.sh: line 66: /www/server/php/80/bin/phpize: No such file or directory
mcrypt.sh: line 67: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
openssl.sh: line 77: /www/server/php/80/bin/phpize: No such file or directory
openssl.sh: line 78: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
bcmath.sh: line 62: /www/server/php/80/bin/phpize: No such file or directory
bcmath.sh: line 63: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
gettext.sh: line 57: /www/server/php/80/bin/phpize: No such file or directory
gettext.sh: line 58: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
redis.sh: line 69: /www/server/php/80/bin/phpize: No such file or directory
redis.sh: line 70: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
memcached.sh: line 71: /www/server/php/80/bin/phpize: No such file or directory
memcached.sh: line 73: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
ls: cannot access '/www/server/php/80/lib/php/extensions': No such file or directory
cat: /www/server/php/80/etc/php.ini: No such file or directory
zip.sh: line 67: /www/server/php/80/bin/phpize: No such file or directory
zip.sh: line 68: ./configure: No such file or directory
make: *** No rule to make target 'clean'.Stop.
ERROR!
install PHP80 extend end
install.sh: line 86: /www/server/php/80/bin/php: No such file or directory
curl: (23) Failed writing body (0 != 16366)
mv: cannot stat 'composer.phar': No such file or directory admin 发表于 2023-10-27 01:10
安装php的日志。
php安装日志
abcdef 发表于 2023-10-27 20:10
++ grep processor
+ cpuCore=2
++ free -m
你这个很明显没有安装成功!
错误是没有权限!!!
admin 发表于 2023-10-28 17:18
你这个很明显没有安装成功!
错误是没有权限!!!
那应该怎么弄才行? /www/server/source/php/php74/ext/mbstring/php_mbregex.c:1407: undefined reference to `onig_set_retry_limit_in_match_of_match_param'
/www/server/source/php/php74/ext/mbstring/php_mbregex.c:1404: undefined reference to `onig_set_match_stack_limit_size_of_match_param'
collect2: error: ld returned 1 exit status
Makefile:279: recipe for target 'sapi/cli/php' failed
make: *** Error 1
最后是这样,就安装不下去了,所以没能成功,都不知是什么问题,怎么解决呢?能详细一点说明是什么问题怎么解决这个问题,达到成功安装。
页:
[1]
2