3

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.

Michel
  • 490
  • 4
  • 11
Neeraj Kumar
  • 1,058
  • 1
  • 9
  • 22

3 Answers3

2

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
websky
  • 3,047
  • 1
  • 33
  • 31
0

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

am05mhz
  • 2,727
  • 2
  • 23
  • 37
0

For php8.0 : a2disconf php8.0-fpm