Solved

Missing Apache mod_DBD packages in Centos 7

Posted on 2016-10-24
2
77 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 25

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

777 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