title: 500 Internal Server Error when moving Yii project to cPanel
body: <p>I have some problem when moving Yii project folder to public_html in cPanel File Manager. In localhost <code>http://localhost:8888/eKehadiran/index.php</code> it works fine, but when i'm moving the project to public_html and run <code>ekehadiran.com/index.php</code>, the ERROR was appear.</p>
  
  <p>This is some related file on public_html:</p>
  
  <p>.htaccess
  <div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>AddHandler application/x-httpd-php54 .php .php5 .php4 .php3</code></pre>
  </div>
  </div>
  </p>
  
  <p>index.php</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  
  // change the following paths if necessary
  $yii=dirname(__FILE__).'/framework/yii.php';
  $config=dirname(__FILE__).'/protected/config/main.php';
  
  // remove the following lines when in production mode
  defined('YII_DEBUG') or define('YII_DEBUG',true);
  // specify how many levels of call stack should be shown in each log message
  defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
  
  require_once($yii);
  Yii::createWebApplication($config)-&gt;run();</code></pre>
  </div>
  </div>
  </p>