PHP Module

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
liquedus
php-forum Active User
php-forum Active User
Posts: 264
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada
Contact:

Wed Jun 11, 2003 8:43 am

I was just wondering after reading a short php article, it mentioned php modules... my question is

what is a php module?

how does it differ from just a php page with some script in it?

is there a tut on this subject?

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Wed Jun 11, 2003 9:28 am

First of all php is an APACHE module, so it could be confusing...

A PHP module could be some extra features you can add to php, for example the GD library gives you some new functions for dynamic creation of images.
You have to download and install it on your server.

Bye!

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Wed Jun 11, 2003 11:11 pm

You may run PHP like module or CGI. that different?
module
run once with first run of server (Apache, ISAPI, NSAPI, etc)
CGI
runs on each script runs.... in win it's php.exe
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

User avatar
mike
New php-forum User
New php-forum User
Posts: 73
Joined: Sun May 04, 2003 4:26 am
Location: Athens
Contact:

Fri Jun 13, 2003 5:07 pm

First of all php is an APACHE module, so it could be confusing...


PHP can be installed as a module on APACHE (or any other web server) or as CGI and work like an external binary executable application (php.exe on windows as wizard said).

A php module can be defined as an extra library or application added on PHP to give additional functions to it. Modules can either be compiled with PHP (like GD on 4.3.x) or can be loaded when php starts, through php.ini configuration (like imap.so).
11:16am up 404 days, 2 users, load average: 148.68, 143.45, 132.6


Mike Vassileiou
[Systems Administrator / PHP Developer]


PHP/MySQL Manual:
http://www.phpmysql-manual.com

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Fri Jun 13, 2003 10:52 pm

But i recommend use PHP like module faster and no problem with memory (CGI need more memory)
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Sun Jun 15, 2003 8:57 am

WiZARD wrote:But i recommend use PHP like module faster and no problem with memory (CGI need more memory)

Definitely

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests