Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于安卓13+Termux环境部署上的一些小问题 #2974

Open
ghost opened this issue Feb 7, 2024 · 1 comment
Open

关于安卓13+Termux环境部署上的一些小问题 #2974

ghost opened this issue Feb 7, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 7, 2024

我在Termux部署了一套正常的代码,源码见https://github.com/yuantuo666/baiduwp-php 。但是在安卓13上却始终无法登录管理后台。测试同样环境Typecho博客系统和Z-Blog(需要关csrf保护)能正常登录使用,把所有配置文件和源码原封不动复制到鸿蒙2.0上也能用。这是什么原因,能否解决(Root除外,容器Linux除外,Qemu除外)?
反馈到上面链接那个项目上,说是疑似Session的问题。我确实找不到session存储目录。不过typecho能正常登上,怪了。Z-Blog登录上是马上提示没有权限,但是不做任何操作下,5秒后直接刷新就恢复正常了。
任何基于Laravel和ThinkPHP的后端类全部无法登录。Laravel好一点,能成功登录,不过登录一秒就过期。ThinkPHP一秒都登不上!
尝试修改Session存储路径,无效。
如果能解决的话,麻烦发个解决办法。
谢谢大佬受累了。
系统内核版本:(系统确实是安卓13不是安卓12)

Linux localhost 5.10.149-android12-9-g3e52debca1cf-dirty #1 SMP PREEMPT Wed Sep 27 04:17:39 UTC 2023 aarch64 Android

系统:OriginOS 3
Termux版本:118.0 (TargetSDK 28)
PHP版本:8.2.8
Nginx版本:1.25.3

@ghost ghost changed the title 关于安卓13,Termux上的一些小问题 关于安卓13+Termux环境部署上的一些小问题 Feb 7, 2024
@ghost
Copy link
Author

ghost commented Feb 7, 2024

实在不想用proot(容器)或者qemu(虚拟机)跑。这两个方法能用。不过太慢了,比蜗牛爬的都慢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants