A
A
Ayk722015-11-16 21:57:28
linux
Ayk72, 2015-11-16 21:57:28

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-v:
PHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53)
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Fedoseev, 2015-11-16
@martin74ua

rpm-qa | grep php
what will it say?

D
Dim Boy, 2015-11-17
@twix007

Apache php5 module disable and enable php5-fpm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question