Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

PHP Module

General discussions related to php

Moderators: macek, egami, gesf

PHP Module

Postby liquedus » 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?
liquedus
php-forum Active User
php-forum Active User
 
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada

Postby Joan Garnet » 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
Joan Garnet
Moderator
Moderator
 
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars

Re: PHP Module

Postby WiZARD » 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
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby mike » 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).
User avatar
mike
New php-forum User
New php-forum User
 
Posts: 73
Joined: Sun May 04, 2003 4:26 am
Location: Athens

Re: PHP Module

Postby WiZARD » Fri Jun 13, 2003 10:52 pm

But i recommend use PHP like module faster and no problem with memory (CGI need more memory)
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Re: PHP Module

Postby Joan Garnet » 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
User avatar
Joan Garnet
Moderator
Moderator
 
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars


Return to PHP General

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.