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
https://forums.phpfreaks.com/topic/116520-modules/#findComment-599444
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
https://forums.phpfreaks.com/topic/116520-modules/#findComment-599656
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.