Answer the question
In order to leave comments, you need to log in
Why is the server not processing php?
Good evening!
Why is my server not processing php? Installed Apache(81)+nginx+php.
But the server gives the original code of the php file.
httpd.conf code:
<Directory /var/www/user/data/www/site.ru>
Options -Includes +ExecCGI
php_admin_flag engine ON
</Directory>
Listen 81
NameVirtualHost IP:81
<VirtualHost IP:81 >
ServerName site.ru
CustomLog /dev/null combined
DocumentRoot /var/www/user/data/www/site.ru
ErrorLog /dev/null
ServerAdmin [email protected]
ServerAlias www.site.ru
SuexecUserGroup user user
DirectoryIndex index.html
ScriptAlias /cgi-bin/ /var/www/user/data/www/site.ru/cgi-bin/
AddDefaultCharset CP1251
</VirtualHost>
PHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question