Do you use or administer OpenEMR? Take the General Satisfaction Survey to help improve the product

Allocation memory ADODB Error

I am using OpenEmr501 on a Linux Ubuntu 20.04 server running apache2 2.4, PHP 7.4 and MariabDB server 10.3.25 but for some weird reason I keep getting this error.
PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in /var/www/html/openemr501/vendor/adodb/adodb-php/ on line 1122

Yes, I up the memory limit for PHP to 2048 just to make sure. Yet nothing. Why are you folks not using the mysqli or pdo ? Regardless I need to get rid of this roadblock, please help.

Can you post all contents of the php.ini file that are listed on the install instructions? Make sure the maximum post value exceeds the limit that is mentioned in the instructions. Very specifically, the following settings:

if you are not using php7, you can find the location of your php.ini file by running phpinfo() and search for php.ini


When using nano you can use the CTRL+W to ‘find’ the variables.

Oh thanks, I was able to figure it out. Looks like this has its own functions.