-1

I have a codeigniter project in my htdocs, and I want to run this by typing localhost/pnhrs in my browser, but instead of viewing the webapp, a code gets downloaded. My apache and websql is running, what seems to be the problem? I am using linux. The code that was downloaded looks like this.

Kendaichi
  • 25
  • 7
  • Please check have you installed php in your machine or not. if not than install php – umefarooq Aug 31 '23 at 06:29
  • Does this answer your question? [Apache is downloading php files instead of displaying them](https://stackoverflow.com/questions/18422140/apache-is-downloading-php-files-instead-of-displaying-them) – Don't Panic Aug 31 '23 at 23:36

0 Answers0