apache and php on windows

apache and php on windows

am 29.01.2007 15:21:31 von Sam Carleton

Is there any way to statically build PHP5 into any version of apache on Windows?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: apache and php on windows

am 29.01.2007 19:05:16 von wrowe

Sam Carleton wrote:
> Is there any way to statically build PHP5 into any version of apache on
> Windows?

1. yes.
2. it's non-trivial.
3. it's possible to compile mod_php.c in, it's also possible to compile in
all of mod_php.c and the php4ts.dll modules. The definition of static
can vary.
4. it offers no measurable performance improvement.

Is there any particular why?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: apache and php on windows

am 29.01.2007 19:25:50 von Sam Carleton

On 1/29/07, William A. Rowe, Jr. wrote:
> Sam Carleton wrote:
> > Is there any way to statically build PHP5 into any version of apache on
> > Windows?
>
> 1. yes.
> 2. it's non-trivial.
> 3. it's possible to compile mod_php.c in, it's also possible to compile in
> all of mod_php.c and the php4ts.dll modules. The definition of static
> can vary.
> 4. it offers no measurable performance improvement.
>
> Is there any particular why?

I am developing a product that I am going to be selling to the average
person (those that know nothing about computers). It is a sort of
kiosk system for events with a server that has a GUI frontend to
populate the system with data. The viewing stations will be web
browsers. The setup/network will be setup and broken down on at the
events by my customer.

I am trying to simplify things for my customer (so they don't have to
worry about setting up and configuring apache), so I have decided to
put only what I need of apache and php into the directory structure of
the GUI application and have the GUI application control the
startup/shutdown of apache.

I was simply thinking that if I could statically link apache and php
so that there was simply one executable, it would make packaging and
distribution simpler for me. I could be wrong;)

Sam

> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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
>
>


--
The contents of this e-mail are intended for the named addressee only.
It contains information that may be confidential. Unless you are the
named addressee or an authorized designee, you may not copy or use it,
or disclose it to anyone else. If you received it in error please
notify us immediately and then destroy it.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: apache and php on windows

am 29.01.2007 19:36:56 von wrowe

Sam Carleton wrote:
>
> I was simply thinking that if I could statically link apache and php
> so that there was simply one executable, it would make packaging and
> distribution simpler for me. I could be wrong;)

What you save in having one binary is mitigated by the fact that pushing
out one small fix (say, a serious flaw in a specific module) goes from
a small update to the entire binary.

From the Apache httpd side, see os/win32/modules.c for the static module
list, and add all the sources for all your desired modules (mod_alias,
mod_auth etc are probably modules you also need). You can compile all
the sources from libhttpd, mod_FOO, etc and set httpd.dsp to depend
upon apr and aprutil instead of libapr and libaprutil. You won't be
able to do loadable libiconv modules, but I doubt you are using those
features.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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

PHP 4 and 5

am 17.03.2010 22:54:42 von Bob Cohen

Is is possible to run php4 and 5 on the same apache server?

Bob

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: PHP 4 and 5

am 18.03.2010 02:20:00 von Nilesh Govindrajan

On 03/18/2010 03:24 AM, Bob Cohen wrote:
> Is is possible to run php4 and 5 on the same apache server?
>
> Bob
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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
>

why not ?

Use mod_fcgid or mod_fastcgi. Both will do. Lot of stuff is in Google.
Search !

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: PHP 4 and 5

am 18.03.2010 08:22:56 von startx

On Thu, 18 Mar 2010 06:50:00 +0530
Nilesh Govindarajan wrote:

> On 03/18/2010 03:24 AM, Bob Cohen wrote:
> > Is is possible to run php4 and 5 on the same apache server?
> >
> > Bob

> Use mod_fcgid or mod_fastcgi. Both will do. Lot of stuff is in
> Google. Search !
>

yes, or you can use one php version as a module and the other(s) as
cgi/fcgi . i had this running for compatibility reasons for quite a
while.

startx

ps: however rremember that php4 is deprecated and gets no security
fixes anymore ;)

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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