Hi I have apache2 installed and php8 installed but when I try to use a url to a .php file it just asks to download the file and it doesnt execute the file. Also yast doesn’t have html setup in it anymore is that going to be perminent, im running kde plasma and i have been updating my system with zypper dup. I searched online and couldn’t find the answer to my problem.
Page is readily displayed by Firefox: http://3400g.lan/index.php. Make sure and properly upgrade:
3400G:~ # zypper se -is php
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+------------------+---------+------------+--------+------------------------
i+ | apache2-mod_php8 | package | 8.1.17-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | php8 | package | 8.1.17-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | php8-fpm | package | 8.1.17-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
3400G:~ #
3400G:~ # grep -v ^\# /etc/sysconfig/apache2|grep -v ^\$
APACHE_CONF_INCLUDE_FILES=""
APACHE_CONF_INCLUDE_DIRS=""
APACHE_MODULES="authz_host actions alias auth_basic authz_user authz_groupfile authn_file autoindex cgi dir env expires include log_config mime negotiation setenvif userdir proxy ssl php8 authz_core authn_core socache_shmcb proxy_fcgi reqtimeout"
APACHE_SERVER_FLAGS="SSL"
APACHE_HTTPD_CONF=""
APACHE_MPM=""
APACHE_SERVERADMIN=""
APACHE_SERVERNAME=""
APACHE_START_TIMEOUT="2"
APACHE_SERVERSIGNATURE="off"
APACHE_LOGLEVEL="warn"
APACHE_ACCESS_LOG="/var/log/apache2/access_log combined"
APACHE_USE_CANONICAL_NAME="off"
APACHE_SERVERTOKENS="ProductOnly"
APACHE_EXTENDED_STATUS="off"
APACHE_TRACEENABLE="off"
3400G:~ #
Hi,
15.4 here and it shows
php7
grep -Ev ‘^$|#’ /etc/sysconfig/apache2
Just started working when i woke up not sure what happened. Thanks!