Software won't function on AWS Bitnami Stack or Ubuntu with PHP 8.1+

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
toolie
Posts: 5
Joined: 2016-10-02 07:23

Software won't function on AWS Bitnami Stack or Ubuntu with PHP 8.1+

Post by toolie » 2024-07-18 17:47

I just downloaded the latest version of AppGini, and it's simply not working. I have used your product in the past (10 years ago) quite successfully, but lately, not at all.

I am in the process of building an app to house text data. I put in a couple of tables and generated the app, uploaded it, and first it failed saying it couldn't allocate sufficient memory.

Code: Select all

[Thu Jul 18 10:28:13.370704 2024] [proxy_fcgi:error] [pid 861296:tid 139858563430144] [client 50.243.98.61:62950] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of [b]134217728 [/b]bytes exhausted (tried to allocate 262144 bytes) in /opt/bitnami/apache/htdocs/toolie.me/aagwkagr/admin/incFunctions.php on line 270', referer: https://toolie.me/aagwkagr/
[Thu Jul 18 10:34:53.338423 2024] [proxy_fcgi:error] [pid 861296:tid 139859553408768] [client 50.243.98.61:63351] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of [b]536870912 [/b]bytes exhausted (tried to allocate 262144 bytes) in /opt/bitnami/apache/htdocs/toolie.me/aagwkagr/settings-manager.php on line 200', referer: https://toolie.me/aagwkagr/
I increased the maximum size, and if you look closely your app is requesting 262144 bytes yet I made available much more than that (536870912). Now I'm still getting a 500 error and don't see anything in the logs to justify that error.

I am getting identical behavior on Ubuntu and Debian (Bitnami.com stack on AWS). Both have PHP 8.1 or greater.

Any clues as to where to look to solve the issue outside of your code?

User avatar
Marcelo Vitoria
Veteran Member
Posts: 81
Joined: 2016-10-11 12:08

Re: Software won't function on AWS Bitnami Stack or Ubuntu with PHP 8.1+

Post by Marcelo Vitoria » 2024-07-22 20:29

I had a similar problem to yours when I uploaded to a new domain and the error occurred because the amount of memory allocated by PHP was too low.

Access your domain's dashboard, change the PHP version to 8.2 and in the options increase the PHP memory allocation, as well as the file upload size, as the default is too low for apps created in AppGini.

Good luck!
Marcelo Vitoria
Coding since 1982 ! :geek:
Basic Sinclar - Clipper - Visual Foxpro - VB6 - PHP
AppGini 24.17 - AdminLTE - SPM
https://www.workspaceservices.com.br

Post Reply