#102010 - 2003-06-10 07:06 PM
Suggestion: For Moderators
|
cmarti
Hey THIS is FUN
Registered: 2001-02-26
Posts: 297
Loc: Little Rock, AR
|
Hello,
I've been out here for a while now and looking at many of the posts by new members. Some of the posts will be cross posts or they may not have enough info in their post to troubleshoot their problem. Since the email field is required when you set up a profile can the ABC's of KiXtart board etiquette and message to new forum users be emailed to the user, not the link, but the text of the page be emailed. Most new people will not go through a forum site for helpful information because on most sites info like this is not available. This site is an exception, and a good one I might add.. .
Just a thought...
Just thought I'd add I come out to this site everyday during my lunch break at work. (I know you're thinking I have no life but I work about 30 miles from where I live in a different city so I don't have anything in this city to do so I stay here and eat in my office...)
L8tr...
|
|
Top
|
|
|
|
#102015 - 2003-06-11 10:13 AM
Re: Suggestion: For Moderators
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Switch the board support to Linux/Apache with PHP as a compiled in module and watch the board fly...
|
|
Top
|
|
|
|
#102017 - 2003-06-11 03:06 PM
Re: Suggestion: For Moderators
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
This request needs to be directed to Henri (board operator).
We have one more outstanding request of him as well.
Thanks,
Kent
|
|
Top
|
|
|
|
#102019 - 2003-06-12 10:02 AM
Re: Suggestion: For Moderators
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Jooel, With IIS (which this board runs on), PHP is AFAIK an external CGI.
With Apache on Linux (and possibly Windows, not too sure) PHP can be in one of three modes:
- Traditional CGI (external process)
- Loadable module (like a DLL) via apxs
- Compiled in to the web server executable as static code
PERL can also be external or compiled in. If not used very often you would probably compile in as loadable module (saves memory). Where it is integral to your site you would probably compile in as static code (improves execution).
One of the major benefits of compiling in PHP is that it supports persistent connections. This means that where your database backend is (say) MySql, the database connection can be opened once by the web server process, and all subsequent requests which use the same authentication can reuse the connection. This is true even if the requests are for completely different end users or applications. Reusing a connector saves time, CPU cycles and memory required to start up and shut down a connection.
An external CGI process suffers a huge overhead including things like building/copying the environment, loading from disk, pre-allocating swap, fork/exec and all subsequent context switching.
|
|
Top
|
|
|
|
#102021 - 2003-06-13 12:15 AM
Re: Suggestion: For Moderators
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
quote: so, conclusion is that saying "CGI is slower than PHP" is false as PHP indeed is still CGI
Not quite, don't confuse the two.
CGI is a loose "standard" mechanism for running arbitrary programs. These may be compiled programs like VB or C++, or script like DOS batch files, PERL, PHP or indeed KiXtart.
PHP is not CGI. PHP may be used as CGI.
Running PHP in CGI mode will have the same disadvantage as any other programming or scripting language run in CGI mode.
Running PHP as an internal web server module has significant advantages - it is no longer running as a CGI.
Note Maskens caveat; quote: of course also depending on PHP implementation and OS
So,
- PHP which is configured to run as a CGI is CGI, with associated problems.
- PHP which is not configured to run as a CGI is not CGI, with associated benefits
|
|
Top
|
|
|
|
#102023 - 2003-06-12 04:12 PM
Re: Suggestion: For Moderators
|
masken
MM club member
   
Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
|
|
|
Top
|
|
|
|
#102024 - 2003-06-12 08:04 PM
Re: Suggestion: For Moderators
|
cmarti
Hey THIS is FUN
Registered: 2001-02-26
Posts: 297
Loc: Little Rock, AR
|
|
|
Top
|
|
|
|
#102027 - 2003-06-20 01:45 AM
Re: Suggestion: For Moderators
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
PHP and UBBThreads is supposed to be pretty slick. [ 20. June 2003, 01:46: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#102028 - 2003-06-20 02:22 PM
Re: Suggestion: For Moderators
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Here is a buddy of mine (actually co-worker) site running UBBThreads -
http://www.vhfans.com
Kent
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 1607 anonymous users online.
|
|
|