apache2 - Local Apache server doesn't run php file, instead the web browser downloads -


my local apache server doesn't run php file, instead web browser downloads when try view it. i'm using lamp on ubuntu. me how can solve problem? thank!

did tell lamp handle .php files php5_module?

check current php setting creating new php file in htdocs or www direectory following content:

<?php phpinfo(); ?>

this show if webserver can process php files or not


Comments