You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Wee Teck Neo <sl...@msn.com> on 2003/12/05 02:46:01 UTC
[users@httpd] Apache 1.3 or Apache 2 with prefork
It is recommended to run PHP module with prefork under Apache 2, but if
thats the case.... should I use Apache 1.3 instead since it is also a
prefork model?
Any better performance in Apache 2 as compared to Apache 1.3 with prefork?
Any comments?
Cheers
Neo
_________________________________________________________________
Take a break! Find destinations on MSN Travel. http://www.msn.com.sg/travel/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache 1.3 or Apache 2 with prefork
Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 5 Dec 2003, Wee Teck Neo wrote:
> It is recommended to run PHP module with prefork under Apache 2, but if
> thats the case.... should I use Apache 1.3 instead since it is also a
> prefork model?
>
> Any better performance in Apache 2 as compared to Apache 1.3 with
> prefork? Any comments?
Lots of things have changed in apache 2 other than threading. See
http://httpd.apache.org/docs-2.0/new_features_2_0.html
for a partial list.
But I have heard a report that php+apache1.3 is faster than
php+apache2+prefork. I haven't tested it myself, so your mileage may
vary.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Our own variables in httpd.conf
Posted by Jez Hancock <je...@munk.nu>.
On Thu, Dec 04, 2003 at 06:25:18PM -0800, Rajeev Rajan wrote:
> Is it possible to create and use our own variables in the httpd.conf ?
Not natively afaik, although I believe you can use perl in your apache
config files if you have mod_perl loaded. See the mod_perl site for
more info:
http://perl.apache.org/
There's also a module called 'mod_macro' that allows you to define
macros and then use them throughout the configuration file. The only
link I have to mod_macro is:
http://www.coelho.net/mod_macro/
PS When you post a new topic, please don't reply to an old post - it
messes up the threading :P
--
Jez Hancock
- System Administrator / PHP Developer
http://munk.nu/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] Our own variables in httpd.conf
Posted by Rajeev Rajan <rr...@qualcomm.com>.
Is it possible to create and use our own variables in the httpd.conf ?
i.e. I wish to create a variable say, myIPAddr, which I can set in the
httpd.conf file in the beginning....and in other constructs like
NameVirtualHost, <VirtualHost ..> etc, I can reference it.
Otherwise, if my machine migrates to another network, and gets a new IP, I
need to do a find and replace with the new IP address in the entire httpd.conf.
Thanks in advance,
Rajeev
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org