-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Bug]: Running PHP pages hangs until Termux gets focus #7761
Comments
Check, from an adb shell, if you get any messages in logcat when the process "hangs". In any case this is most likely a Huawei issue/feature and not something that can be fixed in termux. You can try disabling battery optimization stuff for termux-app, see relevant instructions here: https://dontkillmyapp.com/huawei |
Aqui te dejo mi solución hermano :) |
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Problem description
I installed Apache and PHP (8).
I can start apache and run some php pages.
When a new page is opened, the progress bar in the local browser hangs until the termux app gets focus again.
Then going back to the browser, the page continues to load.
This behavior is the same when running a PHP app with the PHP standalone webserver (php -S 0.0.0.0:8080).
What steps will reproduce the bug?
Install php-apache
Configure Apache to run PHP scripts
Start apache: apachectl start
What is the expected behavior?
All PHP pages in a local browser should run without pausing the page loading
System information
termux-info:
The text was updated successfully, but these errors were encountered: