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

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