Why is my max_upload_filesize being limited to 2M? [duplicate]

Do you by any chance didn’t run sudo service apache2 reload or sudo service apache2 restart after making the changes on php.ini? To find out which php.ini you should update, run command php --ini.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)