skip to Main Content

I have a Plesk 12 server in which PHP is running with Server API CGI/FastCGI. But some of my script requirements I have to change it to Apache 2.0 Handler.

I have performed several changes in Apache configs to enable Apache 2.0 Handler but not successful.

Please help me out of this.

3

Answers


  1. Edit /etc/httpd/conf/httpd.conf

    ####    PHP as fast cgi
    AddHandler php5-fastcgi .php
    Action php5-fastcgi /cgi-bin/php.fcgi
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
    
    Restart the apache
     /etc/init.d/httpd restart
    
    Login or Signup to reply.
  2. if you have access to parallels plesk admin panel, you can find the option under

    hosting services (in the left panel) >> service plan (still in the left panel)

    then you choose which service plan to change, then go to

    hosting parameters tab (in the main panel)

    then scroll down until you find the settings

    note: this is valid for plesk panel 11.5.30 Update #47 and if you have access to the subscription plan settings

    Login or Signup to reply.
  3. For php8.0 : a2disconf php8.0-fpm

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search