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 ? Anyway, good stuff, you got it solved. -- Per Jessen, Zürich (16.3°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org