Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If the buildapache application uses the MySQL libraries and headers on the server itself, and you change the MySQL version, Apache cannot function correctly.
What is the buildapache application? By 'MySQL libraries and headers on the server itself' do they mean building Apache so that it uses MySQL internally? Would httpd be linked to libmysql.so if this were the case?
Those are dead and/or ancient (1 from 2004). I already searched. I was hoping for some first-hand information.
Doesn't look like there's anything newer than 2012...and even that's pretty sketchy. I don't see anything that explains what buildapache is.
I'd give it a pass. Just my opinion.
I hoped I wouldn't have to, but just did. If I get an answer I'll let the teeming masses know. I downloaded the latest Apache httpd source, configured it for sql support, and the built httpd links to libmariadb, which I take to be a sign that, since our production version doesn't, it doesn't use sql.
I downloaded the latest Apache httpd source, configured it for sql support, and the built httpd links to libmariadb, which I take to be a sign that, since our production version doesn't, it doesn't use sql.
May I ask, how did you configured apache sources for sql support?
Running ./configure --help and looking for sql, gives only:
Code:
./configure --help|grep -i sql
--enable-authn-dbd SQL-based authentication control
--enable-authz-dbd SQL based authorization and Login/Session support
The mysql/mariadb support is achieved by using apache with php.
May I ask, how did you configured apache sources for sql support?
Running ./configure --help and looking for sql, gives only:
Code:
./configure --help|grep -i sql
--enable-authn-dbd SQL-based authentication control
--enable-authz-dbd SQL based authorization and Login/Session support
I used both those switches.
Quote:
Originally Posted by bathory
The mysql/mariadb support is achieved by using apache with php.
In the sense that dynamic hosting can use PHP (or some other scripting language) to use a database, you are right. In the sense that I think the page to which I referred means, it's about httpd using sql for its own internal purposes, why upgrading to a version of sql that uses different headers and libraries would make httpd not-work. I asked to be sure. I built httpd (which I don't use, either at home or in production anymore) to see if there was a way to build httpd so that it did rely on sql headers & libraries.
./configure --help|grep -i sql
--enable-authn-dbd SQL-based authentication control
--enable-authz-dbd SQL based authorization and Login/Session support
I used both those switches.
Yes, but those options are used when you want to do authentication based on (a generic) sql, like sqlite3.
Quote:
I built httpd (which I don't use, either at home or in production anymore) to see if there was a way to build httpd so that it did rely on sql headers & libraries.
If you want to use mysql/mariadb specifically, you need to compile apr-util for this and then compile apache against that apr-util.
That's why I don't understand how httpd is linked libmariadb using the 2 options above.
If you want to use mysql/mariadb specifically, you need to compile apr-util for this and then compile apache against that apr-util.
That's why I don't understand how httpd is linked libmariadb using the 2 options above.
I built httpd disabling these and it didn't make a difference: both link to libmariadb, so that's not it. The httpd on the target platform doesn't, which seems to be the key consideration. Unfortunately nobody at the cPanel forum has responded.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.