joximu
Moderator
    
Posts: 3,815
Joined: Jan 2007
Reputation: 47
|
RE: Change register_globals?
ok, read...
http://httpd.apache.org/docs/2.2/en/mod/
prefork - Implements a non-threaded, pre-forking web server
worker - Multi-Processing Module implementing a hybrid multi-threaded multi-process web server
http://httpd.apache.org/docs/2.2/misc/se...ml#dynamic
Embedded scripting options which run as part of the server itself, such as mod_php, mod_perl, mod_tcl, and mod_python, run under the identity of the server itself (see the User directive), and therefore scripts executed by these engines potentially can access anything the server user can. Some scripting engines may provide restrictions, but it is better to be safe and assume not.
And the other hand:
http://www.php.net/manual/en/install.unix.apache2.php
We do not recommend using a threaded MPM in production with Apache2. Use the prefork MPM instead, or use Apache1. For information on why, read the related FAQ entry on using Apache2 with a threaded MPM
hm...
there are plenty of websites to be read by you :-)
(This post was last modified: 05-25-2007 05:25 AM by joximu.)
|
|
| 05-25-2007 05:11 AM |
|
raphael
Member
   
Posts: 474
Joined: Apr 2007
Reputation: 8
|
|
| 05-25-2007 08:12 AM |
|
joximu
Moderator
    
Posts: 3,815
Joined: Jan 2007
Reputation: 47
|
RE: Change register_globals?
|
|
| 05-25-2007 05:18 PM |
|
raphael
Member
   
Posts: 474
Joined: Apr 2007
Reputation: 8
|
|
| 05-26-2007 10:02 AM |
|
ephigenie
Administrator
      
Posts: 671
Joined: Oct 2006
Reputation: 12
|
RE: Change register_globals?
yeah actually mpm-worker performs far better than mpm-prefork.
For fastest speed the mpm-event is recommended.
But the speed improvements are related to static file transfers.
Php won't get faster with fastcgi - but much more secure - because of the use of suexec (and later chroot  )
The speed of php-fastcgi against mod_php is perhaps 90-95% so fastcgi is a bit slower.
But this is nothing compared to other options like suphp (php will be executed as cgi on every call (10-15% of mod_php's speed  ).
So fastcgi is the best choice between speed and security.
A small drawback atm is that somehow apache needs a lot of ram to work - but this could be related to some settings for the worker module - we're investigating that
|
|
| 05-26-2007 07:49 PM |
|