Apache shows PHP code instead of executing it

前端 未结 26 1579
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 02:23

I have recently been trying to install PHP and Apache on my computer. After many hours, they\'re installed. I have modified the httpd.conf and php.ini files like everyone sa

26条回答
  •  抹茶落季
    2020-11-22 03:01

    In my case with PHP7.3 Apache2.4 Ubuntu 18.04 I had to execute:

    $ a2enmod actions fastcgi alias proxy_fcgi
    

提交回复
热议问题