I m migrate my existing drupal site from one url to another . I have imported the db , copied the files and changes the settings in the settings.php file. However each try to run the update.php script or install.php script .. instead of showing some drupal screen the file ends up getting downloaded. Could any one please point out what is it that I m doing wrong. Any help on this would be appreciated . Thanks

Comments

yasheshb’s picture

hi. it looks like you've migrated to a new server (apache ?) and instead of executing the php file it's downloading it.
pls check by accessing a .php file outside of drupal to see the webserver executes/processes the php code.

hth.

yashesh bhatia.

Yashesh Bhatia

daviddobie’s picture

I'm having the same problem when I browse to the localhost it just downloads the file. I enabled php but I must have done something wrong.

Thanks