- Server operating system version
- CentOS Linux 7.9.2009 (Core)
- Plesk version and microupdate number
- Plesk Obsidian Version 18.0.43 Update #1
I'm trying to change the PHP handler for a domain from CLI. I'm using the command:
I get the result:
I tried:
which results in:
At this my point my google fu ran into a wall. It seems like I'm probably missing something obvious.
Any thoughts?
Code:
plesk bin site -u example.com -php_handler_id plesk-php74-fastcgi
I get the result:
Code:
PHP scripts cannot be processed by nginx if the Plesk CGI or FastCGI handler is selected. Either omit the "-nginx-serve-php" option, or select the PHP-FPM handler.
exit status 1
I tried:
Code:
plesk bin site -u example.com -php_handler_id plesk-php74-fastcgi -nginx-serve-php false
which results in:
Code:
Unrecognized option: 'nginx-serve-php'
exit status 1
At this my point my google fu ran into a wall. It seems like I'm probably missing something obvious.
Any thoughts?