[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

Missing Apache mod_DBD packages in Centos 7

I've got .htaccess set up from an older server (migrating from CentOS 5 to 7) to query login info from my MySQL/MariaDB database.

I cannot seem to find the mod_dbd Apache modules anywhere for CentOS 7 (especially in YUM) to read the database for the sites user authentication.

Any ideas where to look?
0
kiwistag
Asked:
kiwistag
1 Solution
 
Tomas Helgi JohannssonCommented:
Hi!

You could, as  Apache on Centos 7 and Centos 5 is 2.x  , try to copy the module from Centos 5 server to Centos 7 and put it in /etc/httpd/conf.modules.d/ directory.
Add the module name to the /etc/httpd/conf/httpd.conf in the LoadModule section
Then restart the Apache server and list running (enabled) modules using
apachectl -M | sort

If you see the name mod_DBD in that list you have successfully added the module to the webserver.

Regards,
     Tomas Helgi
0
 
kiwistagAuthor Commented:
It turned out that some of the modules were loaded. I did copy one of the mysql modules across and had some better luck.
 Thanks :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now