You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by M Azer <az...@gmail.com> on 2007/02/21 18:13:37 UTC

[users@httpd] Apache & PHP configure options

I have installed both apache2 and php5 using the source code. everything
works great.
my question how would I know that the options I selected to configure both
apache & php with are the most common/optimum/best setup - I have read the
docs on apache.org and php.net still I think you need to be a
software/programmer to know or understand if you need to include an
options/switch in your ./configure line.
*
My PHP configuration: *
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql'
'--prefix=/usr/local/apache2/php' '--with-jpeg' '--with-gd' '--with-zlib'
'--with-gettext' '--with-gdbm'
*
My apache configuration:*
core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile
mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter
mod_deflate mod_log_config mod_env mod_mime_magic mod_usertrack mod_setenvif
mod_ssl prefork http_core mod_mime mod_status mod_autoindex mod_asis
mod_info mod_cgi mod_negotiation mod_dir mod_actions mod_speling mod_userdir
mod_alias mod_rewrite mod_so mod_php5


Thanks in advance

Re: [users@httpd] Apache & PHP configure options

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
M Azer wrote:
> however i thought mailing lists are for people to exchange their
> experiences/ suggestions/thoughts/ways they done things, as well as you
> mentioned " specific configuration problems ",  so  people like myself 
> who are interested  in  apache, linux, php and all the other great open
> source products could become one day experts or more knowledgeable 
> because of  mailing lists like this one.

It is.  The problem is that you asked for "most common/optimum/best setup"

"optimum" for what?  "best" for what?

Too vauge, what you would configure to do mass vhosting is nothing like
what you would configure for an occasionally used control panel.  What
you would do for security of a handful of non-intrusive formatting php
scripts is nothing like the security holes you would leave open to try
to deploy a poorly written php application just to permit it to run.

So Mark wasn't being snide, decide what you want to accomplish, then
ask here (and/or on php's user lists) what folks recommend for your
scenario/platform/applications.

---------------------------------------------------------------------
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 & PHP configure options

Posted by Joshua Slive <jo...@slive.ca>.
On 2/21/07, M Azer <az...@gmail.com> wrote:
>
> I am sorry if i wasted your time with my question. I do apologize however i
> thought mailing lists are for people to exchange their experiences/
> suggestions/thoughts/ways they done things, as well as you mentioned "
> specific configuration problems ",  so  people like myself  who are
> interested  in  apache, linux, php and all the other great open source
> products could become one day experts or more knowledgeable  because of
> mailing lists like this one.

There is no need to apologize, but you should read Mark's answer
again.  It is really a good guide.

Your question was a little like asking "I'm starting up a business and
I'd like to know how to make sure it is profitable."  Sure, there are
lots of people who could give you lots of different answers
(especially if you are willing to pay).  But if you want good answers,
you need to start by better defining what you are trying to
accomplish.

The need for specific questions is especially high on a technical
mailing list.  If you really just want to read about best-practices
for apache in general, either check the archives, or buy a book.

---------------------------------------------------------------------
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 & PHP configure options

Posted by M Azer <az...@gmail.com>.
I am sorry if i wasted your time with my question. I do apologize however i
thought mailing lists are for people to exchange their experiences/
suggestions/thoughts/ways they done things, as well as you mentioned "
specific configuration problems ",  so  people like myself  who are
interested  in  apache, linux, php and all the other great open source
products could become one day experts or more knowledgeable  because of
mailing lists like this one.

again I do apologize

On 2/21/07, Mark Lavi <ml...@sgi.com> wrote:
>
> If everything works "great," then you have to specifically define "best."
> You are asking an abstract question, so I'll propose an abstract answer.
>
> - define your specific goal(s)
> - measure your current performance (benchmarks)
> - research configuration changes
> - document and perform changes so you can revert if necessary
> - measure changes and analyze results
> - repeat every step until you archive your goal(s)
>
> This mailing list is where you can ask for help if you are stumped with
> specific configuration changes.
>
> I hope this helps,
>
> --Mark
> Mark Lavi, Enterprise Web Management Team @ SGI
> [ mailto:mlavi@sgi.com || phone:650/933-7707  ]
>
>
>
> -----Original Message-----
> From: M Azer [mailto:azermina@gmail.com]
> Sent: Wed 2/21/2007 9:13 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] Apache & PHP configure options
>
> I have installed both apache2 and php5 using the source code. everything
> works great.
> my question how would I know that the options I selected to configure both
> apache & php with are the most common/optimum/best setup - I have read the
> docs on apache.org and php.net still I think you need to be a
> software/programmer to know or understand if you need to include an
> options/switch in your ./configure line.
> *
> My PHP configuration: *
> './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql'
> '--prefix=/usr/local/apache2/php' '--with-jpeg' '--with-gd' '--with-zlib'
> '--with-gettext' '--with-gdbm'
> *
> My apache configuration:*
> core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile
> mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter
> mod_deflate mod_log_config mod_env mod_mime_magic mod_usertrack
> mod_setenvif
> mod_ssl prefork http_core mod_mime mod_status mod_autoindex mod_asis
> mod_info mod_cgi mod_negotiation mod_dir mod_actions mod_speling
> mod_userdir
> mod_alias mod_rewrite mod_so mod_php5
>
>
> Thanks in advance
>
>
> ---------------------------------------------------------------------
> 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
>
>


-- 
"Unless you try to do something beyond what you have already mastered, you
will never grow." Ronald E. Osborn

RE: [users@httpd] Apache & PHP configure options

Posted by Mark Lavi <ml...@sgi.com>.
If everything works "great," then you have to specifically define "best."
You are asking an abstract question, so I'll propose an abstract answer.

- define your specific goal(s)
- measure your current performance (benchmarks)
- research configuration changes
- document and perform changes so you can revert if necessary
- measure changes and analyze results
- repeat every step until you archive your goal(s)

This mailing list is where you can ask for help if you are stumped with
specific configuration changes.

I hope this helps,

--Mark
Mark Lavi, Enterprise Web Management Team @ SGI
[ mailto:mlavi@sgi.com || phone:650/933-7707  ]



-----Original Message-----
From: M Azer [mailto:azermina@gmail.com]
Sent: Wed 2/21/2007 9:13 AM
To: users@httpd.apache.org
Subject: [users@httpd] Apache & PHP configure options
 
I have installed both apache2 and php5 using the source code. everything
works great.
my question how would I know that the options I selected to configure both
apache & php with are the most common/optimum/best setup - I have read the
docs on apache.org and php.net still I think you need to be a
software/programmer to know or understand if you need to include an
options/switch in your ./configure line.
*
My PHP configuration: *
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql'
'--prefix=/usr/local/apache2/php' '--with-jpeg' '--with-gd' '--with-zlib'
'--with-gettext' '--with-gdbm'
*
My apache configuration:*
core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile
mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter
mod_deflate mod_log_config mod_env mod_mime_magic mod_usertrack mod_setenvif
mod_ssl prefork http_core mod_mime mod_status mod_autoindex mod_asis
mod_info mod_cgi mod_negotiation mod_dir mod_actions mod_speling mod_userdir
mod_alias mod_rewrite mod_so mod_php5


Thanks in advance