I am wanting to create C++ modules to load with Linux Apache web server, to give it additional functionality while not requiring a new process to be executed. I want to do this because I believe it would be faster then cgi-bin programs which require a new process space every time they start. In MSWindows you have DLLs (Dynamic Link Libraries) which can be loaded along with a main program.

How can I create such modules/DLLs in Linux C++? Or, do you know of a book that teaches this?

Kind regards,

Recommended Answers

All 2 Replies

Can these "shared libraries" in Unix be loaded into the same process space of Apache for instance, and executed from PHP possibly? Or can "shared libraries" be used with Apache in any manner?

Great thanx.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.