title: php downloaded instead of viewing
body: <p>I am a beginner of web development and just started to learn about a month</p>
  
  <p>intro:</p>
  
  <p>I  recently come across SQL injection and decided to look it up. After summarizing it, I tried to upgrade my cpanel php version from 5.3 to 5.4 due to PDO support. So I was messing around with <code>.htaccess</code> file and after I uploaded my new <code>.htaccess</code> file I can no longer view my php page again. I don't remember what codes did I put.....</p>
  
  <p>Question: What should I do to undo my stupidity?</p>
  
  <p>Tried solution:</p>
  
  <ol>
  <li>I emptied my .htaccess file and still the same result</li>
  <li><p>I loaded up codes in .htaccess file with</p>
  
  <blockquote>
    <p>LoadModule php5_module        modules/libphp5.so</p>
    
    <p>AddHandler php5-script php</p>
    
    <p>AddType application/x-httpd-php php</p>
  </blockquote>
  
  <p>(from <a href="https://stackoverflow.com/questions/5477603/browser-ask-me-to-download-php-file">Browser ask me to download php file</a>)
  and still the same result<br></p></li>
  <li>Somewhere I have read to change the php file name will undo the damage, It works. But I like my original php file name, so I tried rename back to the original file name and the problem happens again</li>
  </ol>
  
  <p>Sorry for my bad English practice </p>
  
  <p>Update:
  I was browsing my website again, and somehow got into an error saying <br>500 - Internal Server Error<br>, so I decided to delete all my files in public_html file. Then,I re-upload all my web file again and suddenly it all worked. Did not download php file again.</p>
  
  <p>Thanks for everyone who spends time on looking at my problem. I apologize to all the contributor. </p>
  
  <p>The file name on both regist and register have a extension name of .php</p>