• 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.

Switch "Run PHP as" after migration or migrate to special setting

L

lhwparis

Guest
After migration a domain to a new server the "Run PHP as" type is allway set to "CGI" but the old server uses "apache module" i cant change this value back to "apache module" after migrating. is there any way to change this?
 
Just go to domain's subscriber Control Panel, select domain there and change PHP handler type. Or do it via CLI with

/usr/local/psa/bin/domain utility with -php_handler_type option (--help option for details).
 
Thanks IgorG but as you can see in the attached Screenshot i can only switch PHP on and off their. Am i wrong their?
 

Attachments

  • plesk.jpg
    plesk.jpg
    23.5 KB · Views: 23
Check Service Plan for this domain and Scripting option there.
 
Service Plan is set to "apache module" but the subscription says it is "out of sync" when i try to sync the subscription with the service plan i get the sync error attached :( I have searched a lot but realy cant find a way to switch that back to "apache module" in Plesk:( Any more help Igor?
 

Attachments

  • plesk2.jpg
    plesk2.jpg
    22.9 KB · Views: 13
Did you tried to move subscription to another Service Plan with PHP as Apache module?
 
Yes i tried. After changing service Plan it says "subscription out of sync" when i try to sync the error from last post occurs:( When i change it to a plan with PHP as CGI set it says "synct". Changing back to a plan with "php as module" or "php as fcgi" everytime out of sync and sync error when i try to sync manually :(
 
Did you tried to switch it with CLI utility? Do you have any error with it? If it not help - contact Support Team. They will check it directly on your server.
 
ok there is an error now with command line:
WARNING: mod_php is disabled because the Panel operates in the VPS-optimized mode.fastcgi is disabled because the Panel operates in the VPS-optimized mode.

What is this "VPS-optimized mode"? What other things does it affect? And where can i disable it?
Thanks again Igor for your help:)
 
Back
Top