• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Change PHP to FastCGI for all domains?

xLnT

Basic Pleskian
Hi,
Is it possible to change from mod_php to FastCGI on all domains on a server?
We are running Debian 6 (x64) and Plesk 10.4.4.

We would like to try that since apache is using up all our RAM on the servers.

Kind Regards
Magnus
 
Use something like

for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/domain -u $i -php_handler_type fastcgi; done
 
Thank you very much IgorG.
Any ideas about this issue? I have seen alot of others have the same problem with apache.

Kind Regards
Magnus
 
Yes, it is known behaviour then mod_php works a bit faster but consume much more RAM than fastcgi.
 
Ok,
I would like to ask you if its possible with a oneliner to set so that all spam messages spamassasin marks as spam, is sent to the spam folder, for every mail account.

Kind Regards
Magnus
 
Igor, I tried your code and it updated all the domains to fastcgi as expected but now a couple of domains running Joomla 2.5 are having problems with slideshow components (Yootheme's Widgetkit and Joomlaworks' Frontpageslideshow) Sites running 1.5 seem fine (with other sliudeshows).

I use plesk 11.09.

Any ideas on what else may need tweaking on the server following the update to fastcgi ?
 
Back
Top