Help with Cloud VM

#1
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
Code:
<?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?
 

mneylon

Administrator
Staff member
#2
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
Code:
<?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?
what error are you getting?
 
#3
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"
 
#5
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)
 
Top