Re: [CentOS] Apache shows PHP code instead of executing it

2021-01-06 Thread Kaushal Shriyan
On Wed, Jan 6, 2021 at 11:49 PM Alexander Dalloz wrote: > Am 06.01.2021 um 19:10 schrieb Kaushal Shriyan: > > On Wed, Jan 6, 2021 at 9:48 PM Christopher Wensink < > > cwens...@five-star-plastics.com> wrote: > > > >> Does the file have execute permissions, what is the file's permissions > >> and i

Re: [CentOS] Apache shows PHP code instead of executing it

2021-01-06 Thread Alexander Dalloz
Am 06.01.2021 um 19:10 schrieb Kaushal Shriyan: On Wed, Jan 6, 2021 at 9:48 PM Christopher Wensink < cwens...@five-star-plastics.com> wrote: Does the file have execute permissions, what is the file's permissions and is it owned by the user running apache? Chris Hi Chris, I have added the be

Re: [CentOS] Apache shows PHP code instead of executing it

2021-01-06 Thread Kaushal Shriyan
On Wed, Jan 6, 2021 at 9:48 PM Christopher Wensink < cwens...@five-star-plastics.com> wrote: > Does the file have execute permissions, what is the file's permissions > and is it owned by the user running apache? > > Chris > Hi Chris, I have added the below in /etc/httpd/conf/httpd.conf. The issu

Re: [CentOS] Apache shows PHP code instead of executing it

2021-01-06 Thread Christopher Wensink
Does the file have execute permissions, what is the file's permissions and is it owned by the user running apache? Chris On 1/6/2021 10:13 AM, Kaushal Shriyan wrote: 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 ph

Re: [CentOS] Apache shows PHP code instead of executing it

2021-01-06 Thread Leon Fauster via CentOS
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.

[CentOS] Apache shows PHP code instead of executing it

2021-01-06 Thread 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