Support » Installing WordPress » PHP Working, Database connects, but WordPress 500 Internal Server Error

  • 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:

    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?

Viewing 1 replies (of 1 total)
  • double check your wp-config.php file settings for the database name, database username and database password.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Working, Database connects, but WordPress 500 Internal Server Error’ is closed to new replies.