stderr: Primary script unknown

Discussion in 'General' started by ilia, Mar 24, 2018.

  1. ilia

    ilia New Member

    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!'); ?>
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this a nginx or apache web server? If it's nginx, do you use any custom nginx directives in that site?
     
  3. ilia

    ilia New Member

    Hi,
    Thanks for the reply !
    It's a apache web server !
    Kindly
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. ilia

    ilia New Member

    Default one
    it's commented :
    ;cgi.fix_pathinfo=1
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  7. ilia

    ilia New Member

    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
     

Share This Page