Viewing a single comment thread. View all comments

WindTalk wrote

Reply to comment by bootes in 404 errors with index.php by bootes

Allowed memory size of 134217728 bytes exhausted

128MB is standard memory limit for PHP, and apps like Drupal run fine with that amount. So, I'm thinking something else. However, try removing the limit

  1. run "php --ini" to confirm you are using the INI you think you are. What's your version of php? "php -v"
  2. Just to see if problem goes away, change memory_limit in php.ini to -1 and see if that changes behavior.
1

bootes OP wrote

my memory limit is -1 already. php 7.2 using the php.ini located under the 7.2 directory.

2

bootes OP wrote

php -v

PHP 7.2.2-3+ubuntu17.10.1+deb.sury.org+1 (cli) (built: Feb 6 2018 16:11:55) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.2-3+ubuntu17.10.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

php -ini

$ php -i-ini phpinfo() PHP Version => 7.2.2-3+ubuntu17.10.1+deb.sury.org+1

System => Linux reddit 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 x86_64 Build Date => Feb 6 2018 16:11:55 Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc/php/7.2/cli Loaded Configuration File => /etc/php/7.2/cli/php.ini

$ cat /etc/php/7.2/cli/php.ini | grep 'memory_limit'

memory_limit = -1

2