Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enabling PHP not working after enabling on OSX Lion [closed]

I have followed several tutorials. Web sharing is on and I uncommented the php module in apache2/httpd.conf, but when I try to open the phpinfo file, it still tries to open it as a file.

like image 967
Tommy Avatar asked Jun 30 '12 18:06

Tommy


1 Answers

Make sure your Apache config includes this line:

AddType application/x-httpd-php .php
like image 169
Mark Eirich Avatar answered Oct 12 '22 10:10

Mark Eirich