Answer the question
In order to leave comments, you need to log in
Apache nginx php why php script not working?
Goodnight!
Installed apache+nginx+php on centos 6.
But when I open the site, a blank page appears. DLE engine (php).
I click the source code, and there, something like this:
*PHP код index.php движка*
<html><body></body></html>
Answer the question
In order to leave comments, you need to log in
First, dig the apache config for the item:
AddType application/x-httpd-php phtml php
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
You must either install either the FPM SAPI for PHP (php7.0-fpm) or the SAPI for Apache.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question