Problem PHP-CGI modes

Discussion in 'Installation/Configuration' started by postal, May 11, 2010.

  1. postal

    postal New Member

    Problem installed Ubuntu 10.04 Perfect Server all php modes (suPHP,CGI,FCGI)
    Apache 2.0 Handler....

    Ubuntu 9.10 Server with Ispconfig 3 every php modes OK.

    Please Help!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    And what exactly is the problem?
     
  3. postal

    postal New Member

    Any kind of setting (suphp,fcgi...)a phpinfo the result of a function:
    Server API=Apache 2.0 Handler and not CGI,FCGI...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    - Where exactly did you put that phpinfo file?
    - How did you access that file in the webbrowser (exact URL).
     
  5. postal

    postal New Member

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    - Post a screenhsot of the website settings of the site web.suriel.hu.
    - Are there any jobs in the jobqueue (ispconfig monitor)?
     
  7. postal

    postal New Member

    problem Ubuntu 10.04 is original /etc/apache2/mods-available/php5.conf:
    PHP:
    <IfModule mod_php5.c>
        <
    FilesMatch "\.ph(p3?|tml)$">
           
    SetHandler application/x-httpd-php
        
    </FilesMatch>
        <
    FilesMatch "\.phps$">
          
    SetHandler application/x-httpd-php-source
        
    <FilesMatch>
        
    # To re-enable php in user directories comment the following lines
        # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
        # prevents .htaccess files from disabling it.
        
    <IfModule mod_userdir.c>
            <
    Directory /home/*/public_html>
                php_admin_value engine Off
            </Directory>
        </IfModule>
    </IfModule>
    change to:

    PHP:
    <IfModule mod_php5.c>
        
    AddType application/x-httpd-php .php .phtml .php3
        AddType application
    /x-httpd-php-source .phps
    </IfModule>
    and PHP-CGI will work well!!!
     

Share This Page