Can you be specific. Where and what path been used to amend php.ini? as an example:
/etc/php/7.0/apache2/php.ini [On Debian/Ubuntu]
upload_max_filesize = 10M
post_max_size = 10M
If you are using php-fpm, check the php.ini for the individual domain also.
As said above restart apache.
You could try:
- create a php file with
<? phpinfo(); ?>
- Look for “Scan this dir for additional .ini files”.
- Go to the above directory and create user.ini file like:-
post_max_size = 500M
upload_max_filesize = 500M
- Restart Apache sudo service apache2 restart
- Reload the
phpinfo();
file
An try this too, as an example:
`➜find /etc -name ‘php.ini’
/etc/php7/cli/php.ini
/etc/php7/cgi/php.ini
/etc/php7/apache2/php.ini
/etc/php7/embed/php.ini
/etc/php7/fpm/php.ini