Can't change the upload limit on WordPress WordPress
I installed the latest version of WordPress (6.2) on my webserver running AlmaLinux 8.7.
I have updated my php.ini and tried the htaccess method. It is stuck at an upload limit of 2MB.
Any idea what I'm doing wrong?
3 Replies
I've restarted apache and rebooted… I haven't specifically restarted PHP… Not sure how to do that.
Are you using phpinfo() in a PHP script to see all the settings? Is that how you know the memory limit is not changed?
What command are you using in php.ini or .htaccess?
Are you sure you are using the right php.ini file. Often there are several of them. (phpinfo() will tell you which is being used.)
Is it possible that Apache virtual host is not set up to read the .htaccess file if using one?
Have you maybe tried a .user.ini file?
https://www.gearhost.com/documentation/how-to-configure-user-ini