• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

php execution in domain only show fastcgi (not module).

EveMauta

Basic Pleskian
Hi,
Have the same case for 4 servers (web and pro), the menu in plesk could not show another choice, only fastcgi.

Handlers look like ok:
root@serveur:~# /usr/local/psa/admin/sbin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:
module 5.4.4 5.4.4 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini
fastcgi 5.4.4 5.4.4 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini
cgi 5.4.4 5.4.4 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini

/usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.3.10 5.3.10 5.3 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
fastcgi 5.3.10 5.3.10 5.3 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
module 5.3.10 5.3.10 5.3 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini false

I try to select it by ssh:
root@serveur:~# /usr/local/psa/bin/domain --update DOMAIN.TLD -php_handler_type module
Wrong value of php_handler_type, it can take only FastCGI application

After some test can't remenber all, last command worked
I done this at least:
/usr/local/psa/bin/domain --update DOMAIN.TLD -nginx-serve-php false

Anyway do you have an idea how to force to display php module ?

Best regards
Eve
 
Dear UFHH01,

This thread could not help me because in my case fastcgi is selected for both domains.

In this server I installed another php manually:

mysql> use psa;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select section,name from ServiceNodeEnvironment where section='phphandlers';
+-------------+------------------------------------------+
| section | name |
+-------------+------------------------------------------+
| phphandlers | 6875cbcf9113ad52b1687724cadae3b2902d751f |
| phphandlers | cgi |
| phphandlers | fastcgi |
| phphandlers | module |
| phphandlers | synced |
+-------------+------------------------------------------+
5 rows in set (0.01 sec)

mysql> select dom_id,php,php_handler_id from hosting where php='true';
+--------+------+----------------+
| dom_id | php | php_handler_id |
+--------+------+----------------+
| 2 | true | fastcgi |
| 3 | true | fastcgi |
+--------+------+----------------+
2 rows in set (0.00 sec)



/usr/local/psa/bin/domain --update titi.fr -php_handler_type fastcgi
SUCCESS: Update of domain 'velovelo.com' completed.

usr/local/psa/bin/domain --update titi.fr -nginx-serve-php false
SUCCESS: Update of domain 'velovelo.com' completed.

/usr/local/psa/bin/domain --update titi.fr -php_handler_type module
Wrong value of php_handler_type, it can take only FastCGI application
 
Make sure that VPS optimized mode is turned off:

# /usr/local/psa/bin/vps_optimized --status

Also problem with vhosts directory permissions can be there. Fix it with

# /usr/local/psa/bin/repair --restore-vhosts-permissions
 
Back
Top