WordPress WP-Admin Folder Not Parsing PHP

I moved an existing wordpress site from one server to another. After initial complications of getting the “White Screen of Death” of nothing showing this was caused by the MySQL being on another server instead of localhost. It should of given me a SQL error but for some reason it didn’t show!

Next issue was when I tried to get into the admin control panel on domain.com/wp-admin/ the webserver started serving pages as the raw php files for me to download instead of parsing them in the browser. I checked the folder permissions which the same as the server before. I tried copying a phpinfo.php file ( to check if it was a wordpress issue) but it wouldn’t even parse that! I created another folder and copied the phpinfo.php into there to try and it worked. I then copied all the wp-admin files into the new folder , renamed it to wp-admin after deleting the old folder and it worked!

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...