How to prevent web files from download ubuntu php5.6






















It should take a minute or so to install depending on your Internet speed. I will show you how to change it later. Press Enter and then press Y and then press Enter to confirm. It should take a while to install. In the process, installer should ask you for the root password. This is very important. For safety, you can write it somewhere.

If you run into issues leave a comment, or add your own answer to help others. You can type! Your config file looks proper. I have this issue too… Same config… My droplet is www. Referenced it from a working server, then ran a quick search for additional info. Kamal, thank you for your answer. I keep downloading the index. Make sure you already installed it by typing php -v.

If there is no version information about your PHP, then you should install it with:. Show 1 more comment. After struggling a lot I finally solved the problem. But If you are still getting the error : Config file php5. Ravi Shankar Ravi Shankar 1 1 silver badge 5 5 bronze badges. Note that this only works under Linux and specifically Debian Linux.

Please take a look at your addtype directives. Clearing your browser cache is always a good idea. AddHandler php5-script. DirectoryIndex index. Sam Azer Sam Azer 3 3 bronze badges. The problem here is that PHP is not being run correctly somehow, or the wrong headers are being sent Note the last AddType directive which is commented out in the above example, causes a.

Is it possible that your Apache configuration is pretty-printing. You can begin installation of modules like, sudo apt-get install libapache2-mod-php7. Noushad Noushad 4, 3 3 gold badges 22 22 silver badges 27 27 bronze badges. Thanks to all!!! Ladislao Garcia Ladislao Garcia 62 2 2 bronze badges. Take care of browser cache too. My system : Ubuntu Do NOT set it to On as it prevents. In case someone is using php7 under a Linux environment Make sure you enable php7 sudo a2enmod php7 Restart the mysql service and Apache sudo systemctl restart mysql sudo systemctl restart apache2.

MedoAlmasry MedoAlmasry 3 3 silver badges 18 18 bronze badges. Jeffrey Bosboom Craig Smilovitz Craig Smilovitz 13 3 3 bronze badges. Marouen Mhiri Marouen Mhiri 1, 1 1 gold badge 12 12 silver badges 20 20 bronze badges. The conclusion If I commented these two lines out in my. The entire story I have VirtualMin installed on an Ubuntu I tried all kinds of stuff: Removed PHP7. Tried enabling and disabling apache modules, on the existing installation, but without luck.

Then I removed apache completely and installed it again, where-after the problem was still there! And I found the module name by Googling around. I had to active about modules, before I got past that step in the validation - and it took a couple of minutes before the cache ran out, - so doing this was a tedious step. Facebook Twitter Instagram. TecAdmin Home Ubuntu PHP phpdismod phpenmod phpquery. Related Posts. Name required.

Click Here! Blog at WordPress. Follow Following. Adil Mukarram's Blog. Sign me up.



0コメント

  • 1000 / 1000