I have tried my best to see if I can add the modules mod_dbd
and mod_auth_dbd
into Apache but I can't seem to get them to work. I am not sure if I am doing this correct, inside the httpd.conf
file I have this line:
LoadModule dbd_module modules/mod_dbd.so
Is this how you meant to add the module for mod_dbd
?
After putting this line of code inside myhttpd.conf
file, when I try to restart my sever I am getting an error:
Cannot open shared object file : No such file or directory
Thanks
You can do this manually and get more granular feedback on what is failing. Inspect the paths. On my Ubuntu 20 I see there are 33 enabled modules:
$ ls /etc/apache2/mods-available/ | wc
143 143 2096
$ ls /etc/apache2/mods-enabled | wc
33 33 450
To enable a module, check if it is already enabled: $ ls /etc/apache2/mods-enabled | grep dbd
$ ls /etc/apache2/mods-enabled | grep dbd
If it is not enabled, Apache2 lets you do this at the command line: sudo a2enmod dbd
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.