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

Question httpd.conf empty

keff

Basic Pleskian
Hello,

couple days ago I migrated my server from 11.5 Plesk to 12.50.30. On Debian 8.0.
Today I saw that some of domains has empty httpd.conf file. Trying to repair(/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain domainname.tld) without any effect.

How can I repair this?

Second Question:

Why in some domain I can set CGI(not FastCGI) application, and on some domain there is no this option?
 
Today I saw that some of domains has empty httpd.conf file. Trying to repair(/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain domainname.tld) without any effect.

How can I repair this?
Have you tried to use Webserver Configurations Troubleshooter extension?
 
IgorG I've read about configuration, an probably is my mistake. There is httpd_ip_default.conf witch is used. Is it true? And Yes I tried Webserver Configurations Troubleshooter.
But why I can't use CGI instead Fast CGI on some domains?
 
Last edited:
But why I can't use CGI instead Fast CGI on some domains?
Try to do it in CLI with

# /usr/local/psa/bin/domain --update domain.com -php_handler_type cgi

And check possible errors in output.

Types of php_handler you can find in output of

# plesk bin php_handler --list
 
Wrong value of php_handler_type, it can take only FastCGI application, FPM application, Apache module

My Handler List:

cgi 5.6.29 by OS vendor 5.6.29 5.6 cgi /usr/bin/php5-cgi /usr/bin/php5 /etc/php5/cgi/php.ini false disabled
fastcgi 5.6.29 by OS vendor 5.6.29 5.6 fastcgi /usr/bin/php5-cgi /usr/bin/php5 /etc/php5/cgi/php.ini false enabled
fpm 5.6.29 by OS vendor 5.6.29 5.6 fpm /usr/sbin/php5-fpm /usr/bin/php5 /etc/php5/fpm/php.ini false enabled
module 5.6.29 by OS vendor 5.6.29 5.6 module /usr/bin/php5-cgi /usr/bin/php5 /etc/php5/apache2/php.ini false enabled
plesk-php53-cgi 5.3.29 5.3.29 5.3 cgi /opt/plesk/php/5.3/bin/php-cgi /opt/plesk/php/5.3/bin/php /opt/plesk/php/5.3/etc/php.ini true disabled
plesk-php53-fastcgi 5.3.29 5.3.29 5.3 fastcgi /opt/plesk/php/5.3/bin/php-cgi /opt/plesk/php/5.3/bin/php /opt/plesk/php/5.3/etc/php.ini true enabled
plesk-php54-cgi 5.4.45 5.4.45 5.4 cgi /opt/plesk/php/5.4/bin/php-cgi /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.4/etc/php.ini true disabled
plesk-php54-fastcgi 5.4.45 5.4.45 5.4 fastcgi /opt/plesk/php/5.4/bin/php-cgi /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.4/etc/php.ini true enabled
plesk-php54-fpm 5.4.45 5.4.45 5.4 fpm /opt/plesk/php/5.4/sbin/php-fpm /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.4/etc/php.ini true enabled
plesk-php56-cgi 5.6.29 5.6.29 5.6 cgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true disabled
plesk-php56-fastcgi 5.6.29 5.6.29 5.6 fastcgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php56-fpm 5.6.29 5.6.29 5.6 fpm /opt/plesk/php/5.6/sbin/php-fpm /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php70-cgi 7.0.14 7.0.14 7.0 cgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true disabled
plesk-php70-fastcgi 7.0.14 7.0.14 7.0 fastcgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true enabled
plesk-php70-fpm 7.0.14 7.0.14 7.0 fpm /opt/plesk/php/7.0/sbin/php-fpm /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true enabled
 
Thanks Igor - I've already managed this. I'am new to Plesk 12.5. The handler was not enabled - but this was strange, because some domains got it working.
 
Back
Top