找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 716|回复: 10

php老是不能安装,手工从后台安装也不能用,怎么解决?

[复制链接]

1

主题

6

回帖

35

积分

新手上路

积分
35
发表于 2023-10-26 19:24:50 | 显示全部楼层 |阅读模式
如图所示,为手工从后台安装的,显示是红色的,不能变绿,怎么样才能解决这个问题?怎么样才能正确安装上PHP?



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

1

主题

55

回帖

509

积分

管理员

积分
509
发表于 2023-10-26 19:27:50 | 显示全部楼层
安装日志
TG:tg://user?id=5568699210
Email: midoks@163.com

1

主题

6

回帖

35

积分

新手上路

积分
35
 楼主| 发表于 2023-10-26 19:32:56 | 显示全部楼层
安装日志在这

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

1

主题

6

回帖

35

积分

新手上路

积分
35
 楼主| 发表于 2023-10-26 19:44:25 | 显示全部楼层

安装日志发了,能解决吗?谢谢!

1

主题

55

回帖

509

积分

管理员

积分
509
发表于 2023-10-27 01:10:59 | 显示全部楼层
安装php的日志。
TG:tg://user?id=5568699210
Email: midoks@163.com

1

主题

6

回帖

35

积分

新手上路

积分
35
 楼主| 发表于 2023-10-27 20:10:58 | 显示全部楼层
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: [Errno 2] 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

1

主题

6

回帖

35

积分

新手上路

积分
35
 楼主| 发表于 2023-10-27 21:01:27 | 显示全部楼层
admin 发表于 2023-10-27 01:10
安装php的日志。

php安装日志

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

1

主题

55

回帖

509

积分

管理员

积分
509
发表于 2023-10-28 17:18:48 | 显示全部楼层
abcdef 发表于 2023-10-27 20:10
++ grep processor
+ cpuCore=2
++ free -m

你这个很明显没有安装成功!

错误是没有权限!!!
TG:tg://user?id=5568699210
Email: midoks@163.com

1

主题

6

回帖

35

积分

新手上路

积分
35
 楼主| 发表于 2023-10-28 19:52:34 | 显示全部楼层
admin 发表于 2023-10-28 17:18
你这个很明显没有安装成功!

错误是没有权限!!!

那应该怎么弄才行?

1

主题

6

回帖

35

积分

新手上路

积分
35
 楼主| 发表于 2023-10-28 20:34:09 | 显示全部楼层
/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: *** [sapi/cli/php] Error 1



最后是这样,就安装不下去了,所以没能成功,都不知是什么问题,怎么解决呢?能详细一点说明是什么问题怎么解决这个问题,达到成功安装。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

| Archiver|手机版|小黑屋|MW面板

GMT+8, 2024-12-22 13:32 , Processed in 0.021669 second(s), 19 queries .

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表