Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Sep 27, 2025, 07:03 AM

Title: Apache fails to start: undefined symbol: ap_set_content_type_ex
Post by: Suhitha on Sep 27, 2025, 07:03 AM
Question: Apache fails to start: undefined symbol: ap_set_content_type_ex


Applicable to:




Symptoms

Cannot load /usr/lib/apache2/modules/mod_headers.so into server: /usr/lib/apache2/modules/mod_headers.so: undefined symbol: ap_set_content_type_ex

Cause

Incorrect package configuration from LiteSpeed.


Resolution


Reinstall Apache

1.Connect to the server over SSH

2.Reinstall the Apache components

RHEL-based
# yum reinstall httpd

Debian-based
# apt reinstall apache2 apache2-bin apache2-data apache2-utils
3.Start Apache

# systemctl start httpd || systemctl start apache2

Related to

Apache