title: Changes to upload_max_filesize in Amazon Linux AMI php.ini will not take effect
body: <p>No matter what I seem to do on my php.ini file to adjust the upload file size, my WordPress size won't change from 2MB.</p>
  
  <p>I've installed WordPress myself on the instance following some AWS tutorials.</p>
  
  <p>Here's what I have done so far:</p>
  
  <p>Create a PHP file in the Apache document root
  Verified the loaded php.ini files location
  PHP version 7.2.11</p>
  
  <pre><code>Loaded Configuration File:         /etc/php.ini
  
  Scan for additional .ini files in: /etc/php.d
  
  Additional .ini files parsed:
  
  /etc/php.d/20-bz2.ini,
  /etc/php.d/20-calendar.ini,
  /etc/php.d/20-ctype.ini,
  /etc/php.d/20-curl.ini,
  /etc/php.d/20-exif.ini,
  /etc/php.d/20-fileinfo.ini,
  /etc/php.d/20-ftp.ini,
  /etc/php.d/20-gettext.ini,
  /etc/php.d/20-iconv.ini,
  /etc/php.d/20-json.ini,
  /etc/php.d/20-mysqlnd.ini,
  /etc/php.d/20-pdo.ini,
  /etc/php.d/20-phar.ini,
  /etc/php.d/20-sockets.ini,
  /etc/php.d/20-sqlite3.ini,
  /etc/php.d/20-tokenizer.ini,
  /etc/php.d/30-mysqli.ini,
  /etc/php.d/30-pdo_mysql.ini,
  /etc/php.d/30-pdo_sqlite.ini
  </code></pre>
  
  <p>There are several other ini files parsed but on my Amazon Linux AMI instance, there is only one php.ini file</p>
  
  <p>I use Sudo nano php.ini in the /etc directory</p>
  
  <pre><code>; Maximum allowed size for uploaded files.
  memory_limit = 64M
  upload_max_filesize = 64M
  post_max_size = 64M
  max_execution_time = 300
  </code></pre>
  
  <p>Save.
  No errors.</p>
  
  <pre><code>Sudo service httpd restart
  </code></pre>
  
  <p>Look at my phpinfo.php page</p>
  
  <p>It's showing 2MB
  WordPress confirms the max upload size is 2MB</p>
  
  <p>I have tried editing my .htaccess file but it seems to blow up my site if I add in solutions I've found regarding file upload size at the .htaccess file.  </p>
  
  <p>I have tried editing the wp-config.php file as well.  Same result  Seems to blow up the site.</p>
  
  <p>I have full access to the instance.  I can and have saved the php.ini</p>
  
  <p>It should work but simply does not.</p>
  
  <p>Could it be that PHP 7x deals with this differently?</p>