Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache a2enmod ssl won't enable

I tried to enter a command:

sudo a2enmod ssl

Then I got:

 Considering dependency setenvif for ssl:
    ERROR: Module setenvif not properly enabled: /etc/apache2/mods-enabled/setenvif.load is a real file, not touching it
    ERROR: Could not enable dependency setenvif for ssl, aborting

There no results in google and bing, this problem is driving me crazy.

like image 756
Ivan Avatar asked Nov 02 '25 12:11

Ivan


1 Answers

Solution: It needs to delete existing file setenvif.load, and execute command again, it fixes the problem.

It needs to apply some files which require to module ssl, delete them.

like image 124
Ivan Avatar answered Nov 04 '25 09:11

Ivan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!