[CentOS] Apache shows PHP code instead of executing it

Leon Fauster
Wed, 06 Jan 2021 16:17:06 -0000

Am 06.01.21 um 17:13 schrieb Kaushal Shriyan:
> Hi,
>
> I am running the below php, httpd and CentOS Linux version.
>
> # rpm -qa | grep php
> php73-mbstring-7.3.25-1.el7.ius.x86_64
> php73-json-7.3.25-1.el7.ius.x86_64
> php73-fpm-7.3.25-1.el7.ius.x86_64
> php73-pdo-7.3.25-1.el7.ius.x86_64
> php73-gd-7.3.25-1.el7.ius.x86_64
> php73-mysqlnd-7.3.25-1.el7.ius.x86_64
> php73-xml-7.3.25-1.el7.ius.x86_64
> php73-opcache-7.3.25-1.el7.ius.x86_64
> php73-fpm-httpd-7.3.25-1.el7.ius.noarch
> php73-common-7.3.25-1.el7.ius.x86_64
> php73-fpm-nginx-7.3.25-1.el7.ius.noarch
> php73-cli-7.3.25-1.el7.ius.x86_64
> php73-bcmath-7.3.25-1.el7.ius.x86_64
>
> # rpm -qa | grep httpd
> httpd24u-2.4.46-1.el7.ius.x86_64
> httpd24u-tools-2.4.46-1.el7.ius.x86_64
> httpd24u-filesystem-2.4.46-1.el7.ius.noarch
> php73-fpm-httpd-7.3.25-1.el7.ius.noarch
>
> # cat /etc/redhat-release
> CentOS Linux release 7.9.2009 (Core)


The above packages are not from CentOS repositories.

Maybe its more effective to use the mailing list of
the corresponding repo?

--
Leon