If I go to http://www.someserver.com/hello.php it works fine but if I upload the same php file to my httpsdocs folder and try https://www.someserver.com/hello.php the PHP isn't interpreted on the server.
Only the HTML output shows in my browser so when I use 'view source' I notice I can actually see the php code seen below. Why isn't this code being interpreted?
<?php
session_start();
$userid = $_SESSION['member_id'];
echo $userid;
echo "hello";
$today = date('Ymd')
?>
<FORM action="https://www.staging.yourpay.com/lpcentral/servlet/lppay" method="post">
<input type="hidden" name="storename" value="blahblah" />
<INPUT type="hidden" name="chargetotal" value="20.00" />
<input type="hidden" name="mode" value="payplus" />
<input type="hidden" name="txntype" value="sale" />
<input type="hidden" name="producttype" value="creditcard" />
<input type="hidden" name="submode" value="periodic" />
<input type="hidden" name="periodicity" value="m1" />
<input type="hidden" name="startdate" value="<?=$today?>" />
<input type="hidden" name="installments" value="-1" />
<input type="hidden" name="threshold" value="1" />
<input type="hidden" name="txntype" value="sale" />
<input type="hidden" name="member_id" value="<?=$_SESSION['member_id']?>" />
<input type="hidden" name="responseSuccessURL" value="http://www.someurl.com/isupport.php">
<input type="hidden" name="responseFailURL" value="http://www.someurl.com/isupport.php">
<INPUT type="submit" value="$20 per month" />
</Form>
As you can see it looks like it's showing the actual php file but this is from my browser when I choose 'view source'
If I view my php info I see curl is installed and mod_ssl and my ssl certificate is properly installed. I don't see much information on this in google, any information would be greatly appreciated. I have no idea where to begin.