WordPress.org

Ready to get started?Download WordPress

Forums

Adding PHP.INI File Causes Failure in Dashboard Login (5 posts)

  1. michaelsuder
    Member
    Posted 1 year ago #

    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

  2. esmi
    Forum Moderator
    Posted 1 year ago #

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

  3. michaelsuder
    Member
    Posted 1 year ago #

    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...

  4. michaelsuder
    Member
    Posted 1 year ago #

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

    Thanks

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic