Jump to content

Modules?


snowman4839

Recommended Posts

Apache modules are pieces of code which extend the main code for Apache. Apache on it's own is a pretty basic server but by including these modules it learns to do other stuff which makes it actually useable.

There is a PHP module, it's called php5_module and it's filename is libphp5.so. The reason there's no JavaScript module is because JavaScript is run on the user's computer rather than your server.

Link to comment
Share on other sites

Apache modules are pieces of code which extend the main code for Apache. Apache on it's own is a pretty basic server but by including these modules it learns to do other stuff which makes it actually useable.

There is a PHP module, it's called php5_module and it's filename is libphp5.so.

The module used varies on different OS's. For example on Windows PHP5 comes with three Apache modules, these are

php5apache.dll - for use with Apache 1.0.x

php5apache2.dll - for use with Apache 2.0.x

php5apache2_2.dll - for use with Apache 2.2.x

 

To load a module in Apache you'll use the LoadModule directive, example

LoadMode module_name "path/to/module"

# Real example
LoadModule php5_module "C:/php/php5apache2_2.dll"

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.