Solved

Missing Apache mod_DBD packages in Centos 7

Posted on 2016-10-24
2
35 Views
Last Modified: 2016-10-25
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
Comment
Question by:kiwistag
2 Comments
 
LVL 24

Accepted Solution

by:
Tomas Helgi Johannsson earned 500 total points
ID: 41857003
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
 
LVL 6

Author Comment

by:kiwistag
ID: 41859496
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now