Support » Fixing WordPress » Adding PHP.INI File Causes Failure in Dashboard Login

  • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    You need to go back to your hosts. we cannot really help with this as every host is different.

    I have contacted them 3 times now and while adding the php.ini file does increase the file upload limit it disables the WordPress dashboard in the process.

    So, the issue appears to lie with WordPress. They did mention that it may have something to do with the Theme that is being used, but that does not make sense to me…

    I am hoping that another WordPress user that uses Hostway can assist…




    Forum Moderator

    Try checking your site’s error logs for a more specific error message. Your host should be able to help you in accessing your site’s error logs.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding PHP.INI File Causes Failure in Dashboard Login’ is closed to new replies.