title: php not returning response when hosted
body: <p>My android's server side PHP code is working fine on my local pc's xampp server but it just won't return responses when I upload it to my cPanel   </p>
  
  <pre><code>&lt;?php
  require '../databaseConnector/databaseConnector.php';
  
  $codes=$_POST["codes"];
  
  $statement=mysqli_prepare($con, "SELECT * FROM product_codes WHERE $codes = ?");
  mysqli_stmt_bind_param($statement, "s", $codes);
  mysqli_stmt_execute($statement);
  
  mysqli_stmt_store_result($statement);
  mysqli_stmt_bind_result($statement, $id, $codes);
  
  $response=array();
  $response["success"]=false;
  
  while(mysqli_stmt_fetch($statement)){
      $response["success"]=true;
      $response["codes"]=$codes;
  }
  echo json_encode($response);  ?&gt;
  </code></pre>
  
  <p>Error displayed on cPanel</p>
  
  <pre><code>log[Wed Jul 11 06:45:40.608669 2018] [:error] [pid 7330:tid 140534072993536] [client 41.204.187.12:10436] SoftException in Application.cpp:267: File "/home/barnsley/smartscanner/checkvalidity/validity.php" is writeable by group
  </code></pre>