[BlueOnyx:27254] Re: Import 5Mb file via phpMyAdmin gives memory error

JW Ronken jwronken at gmail.com
Thu Sep 19 06:49:33 -05 2024


Solved by changing to
php_admin_value[memory_limit] = 2048M

It was at 512M for some unknown reason...
thanks again for the quick support!
janwillem

On Thu, Sep 19, 2024 at 11:12 AM Michael Stauber via Blueonyx <
blueonyx at mail.blueonyx.it> wrote:

> Hi Janwillem,
>
> > I am trying on a 5210R (phpMyAdmin 5.20, PHP version 8.1.29 on
> > admin server) a 5Mb .ods file.
> > I keep getting the following error:
> > *Fatal error*: Allowed memory size of 536870912 bytes exhausted (tried
> > to allocate 4096 bytes)
> >
> in*/usr/sausalito/ui/web/base/phpMyAdmin/vendor/phpmyadmin/sql-parser/src/Lexer.php*on
> line*450*
> > *
> > *
> > in php.ini I've changed to memory_limit 2048M
>
>
> For AdmServ you need to edit /etc/admserv/php.ini and
> /etc/admserv/php-fpm/pools/admserv.conf instead.
>
> By default it does have memory_limit = 1024M set, though.
>
> After the changes you need to restart AdmServ and the AdmServ-PHP-FPM
> services:
>
> systemctl restart admserv admserv-php-fpm
>
> --
> With best regards
>
> Michael Stauber
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20240919/dab71228/attachment.html>


More information about the Blueonyx mailing list