Help with Cloud VM

Discussion in 'Server / Technical Administration Tips and Queries' started by JamesA, Jan 23, 2015.

  1. JamesA

    JamesA New Member

    I'm moving my site from shared hosting to a CloudVM package and I'm having a problem setting things up so that my php includes will work.

    I've been using the following include to call the header to my pages
    <?php include ("header.htm"); ?>
    but it wont work on the new server.

    Can anyone tell me what I need to change in my Plesk Control Panel so that they'll start working?
  2. mneylon

    mneylon Administrator Staff Member

    what error are you getting?
  3. JamesA

    JamesA New Member

    Thanks for your reply. I figured it out last night. Turns out I had forgotten to upload my .htaccess containing directive to process ".html" files as PHP

    Also had to change PHP settings to "run as Apache module"
  4. mneylon

    mneylon Administrator Staff Member

    Ah well yes that would explain it alright :)
  5. JamesA

    JamesA New Member

    Hey Michele, give that Damien lad a lick in the arse. I has rang support with this one. He said he's look into it and get back to me via email.
    (tumble-weed rolls past)

Share This Page