WordPress.org

Ready to get started?Download WordPress

Forums

PHP Working, Database connects, but WordPress 500 Internal Server Error (2 posts)

  1. tonywr
    Member
    Posted 1 year ago #

    Hi,

    I am currently trying to install wordpress on a Windows 2008 machine at my host. I have had wordpress running locally on my dev box for about a week, with no issues.

    Firstly, I tried to migrate it to my host and put it in a folder called "wordpress", which is off the root folder. I used IIS Manager to make that folder a virtual directory. I imported my database into the host system, changed the path in wp_options, and used the string replace routine to replace all url paths with the new one. No luck - it gives me Internal Error 500.

    My next step was to drop phpinfo.php into the root folder, and then I tried it out in wp-admin. It works fine. They are using 5.2.1. You can see that here: http://hazaa.com.au/wordpress/wp-admin/phpinfo.php

    I used searchreplacedb2.php to replace strings in the database I copied to the server. Renamed it as something else first, of course. I connected with mysql workbench and it showed that it had updated the strings. That proved database connectivity.

    Next I decided that it must be something to do with my plug-ins or something specific to my dev installation, so I blew away both the database and wordpress on my host site, then downloaded the latest wordpress code 3.4.1 and loaded it up under my wordpress folder.

    I changed the connection strings, and was able to test database connectivity using searchreplacedb2 (no database tables, but connectivity worked) and I can run phpinfo.php.

    But still it has problems with an Internal Error 500.

    Any ideas what I'm doing wrong?

  2. RichardWPG
    Member
    Posted 1 year ago #

    double check your wp-config.php file settings for the database name, database username and database password.

Topic Closed

This topic has been closed to new replies.

About this Topic