• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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