MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: KloxoLittleFish on 2017-09-22, 19:02:07

Title: Problem with domains.conf.tpl
Post by: KloxoLittleFish on 2017-09-22, 19:02:07
I have a problem with the file "/opt/configs/apache/tpl/domains.conf.tpl". Inside appears code that gives me critical error.

Code: [Select]
/opt/configs/php-fpm/sock/<?=$phpselected;?>-<?=$sockuser;?>.sock
If I remove the "<?=$phpselected;?>-" it works correctly.

I must have some file without updating correctly that still retains old code. That's why I'd like to ask where it runs-designates the name of the sock. The original file to which it refers.

This is the complete section:

Code: [Select]
<IfModule mod_fastcgi.c>
Alias /<?=$domainname;?>.<?=$count;?>fake "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake"
#FastCGIExternalServer "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake" \
# -host 127.0.0.1:<?=$fpmport;?> -idle-timeout <?=$timeout;?> -pass-header Authorization
FastCGIExternalServer "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake" \
-socket /opt/configs/php-fpm/sock/<?=$phpselected;?>-<?=$sockuser;?>.sock \
-idle-timeout <?=$timeout;?> -pass-header Authorization
<FilesMatch \.php$>
SetHandler application/x-httpd-fastphp
</FilesMatch>
Action application/x-httpd-fastphp /<?=$domainname;?>.<?=$count;?>fake
<Files "<?=$domainname;?>.<?=$count;?>fake">
RewriteCond %{REQUEST_URI} !<?=$domainname;?>.<?=$count;?>fake
</Files>
</IfModule>
Title: Re: Problem with domains.conf.tpl
Post by: fossxplorer on 2017-09-24, 16:01:08
Have you upgraded lately?
Try 'sh /script/cleanup && sh /script/fix-all'