On Tue, 20 Aug 2019 15:37:08 +0200 Wolfgang Mueller <wm@ariannuccia.de> wrote:
On Tue, 20 Aug 2019 at 07:18:22 +0200, Per Jessen wrote:
Wolfgang Mueller wrote:
On Mon, 19 Aug 2019 at 20:00:56 +0200, I wrote:
Having installed apache2 and php7 under Leap 15.1, I started apache2 using the Services Manager of yast2.
But Google-chrome and Firefox do not recognize a php script. They treat it as a text file, trying to open and/or download it. What is wrong?
My mistake was relying on yast. But then I found an instruction on https://en.opensuse.org/SDB:Apache_installation which recommends the use of zypper. Consequently the command zypper in apache2 solved my problem immediately. Now php7 works on my computer.
Whether you install with zypper like above or with YaST, it makes no difference. You said you already had apache installed, so before the 'zypper in', you must have uninstalled it ?
No, I did not.
At first, I used yast2 for installing apache2, but it did not work correctly. Then, without uninstalling apache2, I used zypper, just typing the command "zypper in apache2".
zypper answered that apache2 had already been install such that nothing was left to be done by zypper. But nevertheless and against my expectation, it has made apache2 run correctly.
Sounds like a bug report might be appropriate.
Anyway, good stuff, you got it solved.
Nothing is more convincing than the success, may it even be unexpected an incomprehensible.
Bye, Wolfgang
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org