Код: Выделить всё
<VirtualHost 127.0.0.1:8080>
ServerName domain
ServerAdmin почта
SuexecUserGroup user user
DocumentRoot /directory/html
CustomLog /directory/logs/access.log combined
ErrorLog /directory/logs/error.log
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /directory/public_html>
Options +ExecCGI
AllowOverride All
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi)>
SetHandler fcgid-script
Options +FollowSymLinks +ExecCGI
</Files>
</IfModule>
</Directory>
ScriptAlias /fcgi-bin/ /directory/cgi-bin/php5-default/
AddHandler php-fcgi .php
Action php-fcgi /fcgi-bin/php-fcgi-wrapper
<Location /fcgi-bin/php5-default/>
SetHandler fcgid-script
Options +ExecCGI
</Location>
</VirtualHost>Пробовал и RemoveHandler .php(5), и RemoveHandler application/x-httpd-php в верху дописывать
Все равно в phpinfo() выдает что через mod_php идет
Код: Выделить всё
$ a2dismod
Your choices are: actions alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex cgi cgid deflate dir env fcgid include info log_sql log_sql_mysql log_sql_ssl mime negotiation php52 reqtimeout rewrite rpaf setenvif ssl status suexec watch