T
T
TechNOIR2018-01-29 08:52:27
linux
TechNOIR, 2018-01-29 08:52:27

Windows Linux Subsystem (Ubuntu). Php files are not processed (downloaded). How to fix?

Good afternoon.
On Windows Linux Subsystem in Windows 10, apache, mysql and php 5.6 are up.
Html opens fine, but php is not processed and downloaded.
What could be the problem?
Everything installed perfectly, no errors. Everything is in working order

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2018-01-29
@Minifets

Most likely you are missing the libapache2-mod-php5 module.

C
CityCat4, 2018-01-29
@CityCat4

Of course, explain to Apache that .php needs to be executed. For example, like this: (apache 2.2)

# Add types definitions for PHP working properly
    <IfModule php5_module>
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .phps
    </IfModule>

O
OnYourLips, 2018-01-29
@OnYourLips

Everything installed perfectly, no errors. Everything is in working order

Finally decide: is everything in working order, or are php not processed and downloaded?
Post your configs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question