1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

FastCGI httpd error centOS

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by GunFood, Jan 18, 2010.

  1. GunFood

    GunFood Basic Pleskian

    21
    73%
    Joined:
    Aug 28, 2009
    Messages:
    49
    Likes Received:
    0
    Location:
    Berlin
    Hi,

    I did the Upgrade to v9.3 on my centos machine.
    After restart httpd (apache2) didn't start. So I run 'service httpd start' manual.
    I got the folowing error:
    Code:
    Starting httpd: Syntax error on line 135 of /var/www/vhosts/domain.tld/conf/httpd.include:
    can't get fastcgi file info: dynamic, errno: 2
    The corresponding line in configuration:
    Code:
    <Files ~ (\.php)>
        SetHandler fcgid-script
    =>  FCGIWrapper dynamic .php
        Options +ExecCGI
        allow from all
    </Files>
    I had to comment it out, to get apache working again. In Plesk FastCGI Support is available.

    Any solutions?
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,554
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Look at this thread. I hope it will help.
     
  3. GunFood

    GunFood Basic Pleskian

    21
    73%
    Joined:
    Aug 28, 2009
    Messages:
    49
    Likes Received:
    0
    Location:
    Berlin
    Thanks. The recommand changes changed config after a '/usr/local/psa/admin/bin/websrvmgr --reconfigure-all'
    Code:
    <Files ~ (\.php)>
        SetHandler fcgid-script
        FCGIWrapper /usr/bin/php-cgi .php
        Options +ExecCGI
        allow from all
    </Files>
    'service httpd restart' worked without an error.

    Thanks for your help.
     
Loading...