Solved

Missing Apache mod_DBD packages in Centos 7

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

820 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