My local Apache server doesn't run my php file, instead the web browser downloads it when I try to view it. I'm using LAMP on Ubuntu. Would you help me how I can solve this problem? Thank!
-
possible duplicate of browser downloads php file from apache web serverMarc B– Marc B2015-07-10 19:00:30 +00:00Commented Jul 10, 2015 at 19:00
-
Problem solved, here is what I have done: I put back all my php file into the default html directory then I assigned DocumentRout variable to /bar/www/html/. DocmentRout variable is located in /etc/apache2/sites-available/000-default.conf file. Thanks for all !Teka– Teka2015-07-11 17:07:54 +00:00Commented Jul 11, 2015 at 17:07
Add a comment
|