Main / Health & Fitness / Apache php instead of display

Apache php instead of display

Apache php instead of display

Name: Apache php instead of display

File size: 599mb

Language: English

Rating: 2/10



When you're configuring apache then try to view the page from If you are prompted to download file instead of executing it, then here. I first uninstalled the php x and then installed php but after the installation completed apache did not parse the php files it just downloaded them. AddHandler application/ AddType application/ I installed Apache, MySQL, and PHP on my Ubuntu system to do some Then suddenly PHP files started downloading instead of running.

I got it to work with the line: sudo apt-get install libapache2-mod-php sudo service apache2 restart. If your Apache 2 web server is failing to execute PHP files, learn how to to save onto the local drive or it displays the PHP code in the browser? do a full restart of Apache 2 (instead of a reloading of the configuration files). You're missing a PHP script handler. The configuration lines in Apache2 that you' re missing look something like this: # Use for PHP 5.x: LoadModule.

I now need to create a dynamic page using php, but if a create a file Problem solved turned out that LAMP used Nnginx instead of Apache. Basically, the php files are now downloadable instead of displayable in the localhost browser. Here is what I have: updates. We monitor the Forums, along with lots of wonderful folks in the community. Rather than fixing the domain that was downloading php files.


В© 2018