Solved

Missing Apache mod_DBD packages in Centos 7

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

937 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

10 Experts available now in Live!

Get 1:1 Help Now