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

[Bug]: Running PHP pages hangs until Termux gets focus #7761

Closed
juppwerner opened this issue Oct 18, 2021 · 3 comments
Closed

[Bug]: Running PHP pages hangs until Termux gets focus #7761

juppwerner opened this issue Oct 18, 2021 · 3 comments
Labels

Comments

@juppwerner
Copy link

juppwerner commented Oct 18, 2021

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:

Application version:
unsupported

Updatable packages:
All packages up to date
Android version:
10

Kernel build information:
Linux 4.14.116
Device manufacturer:
HUAWEI
Device model:
JSN-L21
@juppwerner juppwerner added the bug report Something is not working properly label Oct 18, 2021
@juppwerner juppwerner changed the title [Bug]: [Bug]: Running PHP pages hangs until Termux gets focus Oct 18, 2021
@Grimler91
Copy link
Member

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

@anonintheworld
Copy link

anonintheworld commented Nov 1, 2021

Aqui te dejo mi solución hermano :)
https://github.com/anonintheworld/php.ini

@stale
Copy link

stale bot commented Dec 16, 2021

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.

@stale stale bot added the wontfix Issue won't be fixed label Dec 16, 2021
@stale stale bot closed this as completed Dec 30, 2021
@xtkoba xtkoba reopened this Dec 24, 2022
@xtkoba xtkoba removed the wontfix Issue won't be fixed label Dec 24, 2022
@xtkoba xtkoba closed this as completed Mar 2, 2023
@xtkoba xtkoba added question and removed bug report Something is not working properly labels Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants