My hosting provider (HostWay) instructed me to create and add a php.ini file (contents below) to the following directory: ‘/cgi-bin’ in order to increase the file upload limit.
Once this is done, I can no longer log in to the WordPress Dashboard. Several warning messages are displayed above the login dialog and after entering credentials, the page contains error messages and no dashboard.
When I remove the php.ini file, I can log in once again.
(contents of php.ini file)
memory_limit = 32M
upload_max_filesize = 32M
post_max_size = 32M
file_uploads = On
- The topic ‘Adding PHP.INI File Causes Failure in Dashboard Login’ is closed to new replies.