Help... Why is this happening to me?: php7:error

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
User avatar
lramirez
Veteran Member
Posts: 75
Joined: 2019-11-01 23:23

Help... Why is this happening to me?: php7:error

Post by lramirez » 2025-03-14 21:43

Hi, I'm also having a similar problem... but I don't know if anyone else has had it... there's a random moment when the app page doesn't load or is very slow... and when I check the publisher's error log, it tells me this:
[Fri Mar 14 15:40:22.098503 2025] [php7:error] [pid 8900:tid 1556] [client xxx.xx.xxx.66:53508] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\\xampp\\htdocs\\app\\resources\\lib\\Authentication.php on line 463, referer: https://xx.xx.xx.pa/app/index.php?brows ... caaff25fe9
Appgini: 25.10
PHP/7.4.33

This started happening after I updated to 24.17 and PHP from 7.3 to 7.4, but the problem was very subtle and everything was working fine... Now I'm getting what I showed you.

Can someone please tell me what's happening or give me a recommendation.
Thanks
Luis Ramirez R.

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1695
Joined: 2018-04-01 10:12

Re: Help... Why is this happening to me?: php7:error

Post by pbottcher » 2025-03-15 14:40

Hi,

can you check you database size especially the different members tables if there is an unsual big table.

best
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

User avatar
lramirez
Veteran Member
Posts: 75
Joined: 2019-11-01 23:23

Re: Help... Why is this happening to me?: php7:error

Post by lramirez » 2025-03-16 00:49

Thanks, pbottcher, I'll check that out too...

I updated from PHP 7.4 to 8.2 and added reCaptcha,

https://bigprof.com/appgini/tips-and-tu ... -recaptcha

and I can see that everything is back to normal... :D
Thanks. :D
Luis Ramirez R.

ppfoong
Veteran Member
Posts: 62
Joined: 2021-07-13 16:46

Re: Help... Why is this happening to me?: php7:error

Post by ppfoong » 2025-03-16 03:41

You can edit php.ini to change the limit of the following:

max_execution_time
max_input_time
max_input_nesting_level
memory_limit

Increase the value if needed.

User avatar
a.gneady
Site Admin
Posts: 1336
Joined: 2012-09-27 14:46
Contact:

Re: Help... Why is this happening to me?: php7:error

Post by a.gneady » 2025-03-16 14:20

When running AppGini-generated apps on shared hosting (or a VPS with limited CPU shares), you can encounter timeouts or very slow page loading if the server is overloaded or if other tenants on the same server are consuming resources.

The “Maximum execution time of 120 seconds exceeded” error suggests that PHP took too long to finish a request. This can happen if your server doesn’t have enough CPU resources or suffers frequent spikes in usage. Consider upgrading your hosting plan to one with higher CPU or memory limits.
:idea: AppGini plugins to add more power to your apps:

User avatar
lramirez
Veteran Member
Posts: 75
Joined: 2019-11-01 23:23

Re: Help... Why is this happening to me?: php7:error

Post by lramirez » 2025-03-16 19:58

Ok, thanks for the advice... I'll run the checks for a new server.
Luis Ramirez R.

Post Reply