Hello, im facing this error : Code: fastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-IP-443-domain.com" stderr: Primary script unknown this happens when i run a php to test xcache : Code: <?php xcache_set('test', 'Works!'); ?>
Is this a nginx or apache web server? If it's nginx, do you use any custom nginx directives in that site?
Do you use the default php of the system or an additional PHP version? Maybe the issue is related to the cgi.fix_pathinfo setting in php.ini.
Try to change that to see if it helps. Don't forget to restart the fpm daemon to apply the change, to be sure, you might want to check the setting with phpinfo() command.
Hi, Lol still getting this error, but i really don't know the source problem here is the log : Code: [Sun Mar 25 19:06:05.790268 2018] [:error] [pid 19425] [client 82.226.55.213:62680] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:11:05.942795 2018] [:error] [pid 19781] [client 82.226.55.213:63261] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:16:05.932464 2018] [:error] [pid 20335] [client 82.226.55.213:63723] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:21:05.907529 2018] [:error] [pid 21125] [client 82.226.55.213:64332] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:26:05.856552 2018] [:error] [pid 21670] [client 82.226.55.213:64937] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:31:05.918005 2018] [:error] [pid 22300] [client 82.226.55.213:65441] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:36:05.884564 2018] [:error] [pid 22776] [client 82.226.55.213:49888] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:36:44.802017 2018] [:error] [pid 22776] [client 54.211.207.161:33586] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown, referer: https://www.google.com/ [Sun Mar 25 19:41:05.992015 2018] [:error] [pid 23246] [client 82.226.55.213:50857] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:46:06.409247 2018] [:error] [pid 23930] [client 82.226.55.213:51596] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:51:06.039823 2018] [:error] [pid 24458] [client 82.226.55.213:52192] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 19:56:06.017179 2018] [:error] [pid 24994] [client 82.226.55.213:52739] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 20:01:06.018632 2018] [:error] [pid 25375] [client 82.226.55.213:53067] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 20:06:06.013338 2018] [:error] [pid 26176] [client 82.226.55.213:53110] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 20:06:22.730023 2018] [:error] [pid 25897] [client 67.188.151.250:58670] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 20:11:05.977905 2018] [:error] [pid 26794] [client 82.226.55.213:53214] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 20:14:05.411273 2018] [:error] [pid 26944] [client 54.175.136.182:54928] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown, referer: https://www.google.com/ [Sun Mar 25 20:16:06.038367 2018] [:error] [pid 27108] [client 82.226.55.213:53284] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 20:21:06.238661 2018] [:error] [pid 27646] [client 82.226.55.213:53344] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 20:26:06.100173 2018] [:error] [pid 28324] [client 82.226.55.213:53402] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown [Sun Mar 25 20:31:06.083721 2018] [:error] [pid 28716] [client 82.226.55.213:53410] FastCGI: server "/var/www/clients/client1/web3/cgi-bin/php5-fcgi-WW.XX.YY.ZZ-443-domain.com" stderr: Primary script unknown Thanks
Did you ever resolve this? If so, how? My logs are full of similar errors. Debian 8.11 server - Apache 2.4.10 phpinfo() shows " _SERVER["CONTEXT_PREFIX"] with a value of /php5-fcgi" - which doesn't exist. Replaced my real domain name with "my-real-domain-is-here.com" [Thu Jun 28 09:59:52.289240 2018] [:error] [pid 21531] [client 24.225.8.13:32952] FastCGI: server "/var/www/clients/client1/web1/cgi-bin/php5-fcgi-192.168.2.230-80-my-real-domain-is-here.com" stderr: Primary script unknown, referer: https://www.my-real-domain-is-here.com/account.php [Thu Jun 28 15:59:45.466328 2018] [:error] [pid 11806] [client 107.77.210.181:23515] FastCGI: server "/var/www/clients/client1/web1/cgi-bin/php5-fcgi-192.168.2.230-443-my-real-domain-is-here.com" stderr: Primary script unknown