Why is my PHP source code showing?

前端 未结 3 869
小鲜肉
小鲜肉 2020-12-06 17:53

So, I added the following to my http.conf file:

Listen443

NameVirtualHost *:443


    DocumentRoot /PATH_TO/www
    ServerName www.         


        
3条回答
  •  Happy的楠姐
    2020-12-06 18:30

    In centos this can happen because of php-module missing, to fix that issue we have to install

    sudo yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml

提交回复
热议问题