PHP Problem
Hi All,
PHP is not working. Php files are just getting downloaded.
OS Version:
SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 2
Things that I have tried till yet:
1) Added below content to apache config file and restarted service :
# associate MIME types with filename extensions
TypesConfig /etc/apache2/mime.types
Include /etc/apache2/mod_mime-defaults.conf
AddType application/x-httpd-php .php .phtml .html
2) Ran command
a2enmod php7
Contents of a2enmod -l :
actions alias auth_basic authn_file authz_host authz_groupfile authz_core authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl socache_shmcb userdir reqtimeout authn_core php php7
Output of php-v:
PHP 7.2.6 (cli) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Just to add, I have removed all libxml2 contents from server, as it was creating issues.
|