title: Some php code not working after moving to Plesk from Cpanel
body: <p>Recently, my web host offers me to switch to Plesk from Cpanel, they said Plesk is very good, and their new plan is using Plesk control panel and Litespeed server that helps to boost my website load speed. And, I agreed to give it a try.</p>
  <p>Now, the problem is the php code that I used on my website not working. It was working pretty fine when it was in cpanel. I ask their support tech to fix that for me, now they asking me back is my code not compatible with Litespeed. But, I have another website hosted by other web hosting company that uses Litespeed server but they are Cpanel. The same php code working fine too. So, I don't think it's coding issue. They tech support unable to get it fixed for me. Frustrated!</p>
  <p>Does anybody know what's going wrong?</p>
  <p>Here is the code</p>
  <pre><code>&lt;?
  $s=$_GET['Submission'];
  if ($s==&quot;failed&quot;) {
     echo ('&lt;p class=&quot;errorMessage&quot;&gt;Ops! Something went wrong at the Math question. Please try again with correct answer!&lt;/p&gt;');
     }
  ?&gt;
  &lt;?
  $s=$_GET['Submission'];
  if ($s==&quot;success&quot;) {
     echo ('&lt;style&gt;.hide {display:none;}.submitted {background:#9dd100; padding:5px 8px; color:#fff;}&lt;/style&gt;');
     echo ('&lt;p class=&quot;submitted ms&quot;&gt;Enquiry form has been submitted successfully. Please allow us to have some time for reviewing, and we will revert to you as soon as possible. Thank you!&lt;br/&gt;&lt;span class=&quot;note&quot;&gt;[This message will be closed in 15 seconds.]&lt;/span&gt;&lt;/p&gt;');
     }
  ?&gt;
  </code></pre>
  <p>This code is actually a simple code for me to hide the error and success message when submitting the form.</p>
  <p>Now it's not working. Not sure if anything else I can do for Plesk to make it work?</p>
  <p>Here is the screenshot of the website.
  <a href="https://snipboard.io/DypiJH.jpg" rel="nofollow noreferrer">https://snipboard.io/DypiJH.jpg</a></p>
  <p>Appreciate your kind feedback.</p>