Re: Dynamic vs. Static
| From: | Scott Hurring | Date: | Mon, 09 Dec 2002 23:53:13 +0000 |
| Subject: | Re: Dynamic vs. Static | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127577@lists.php.net to get a copy of this message | ||
If you do it correctly, yes.
The apache module usually lives somewhere in the apache hierarchy,
whereas the 'php' binary is '/usr/bin/' or '/usr/local/bin/', so they
can quite happily co-exist.
Beware though, when upgrading one, upgrade BOTH.
It drove me nuts once when i forgot, and ended up having a
more recent command line version than apache module
and couldn't figure out why cmdline scripts were acting
differently than when served up thru apache.
--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
<ed@home.homes2see.com> wrote in message
news:Pine.LNX.4.04.10212091530330.28871-100000@home.homes2see.com...
>
> Can I do that using the same src I used to create the dynamic module and
> both would work hapilly together?
>
> Thanks,
>
> Ed
>
>
> On Mon, 9 Dec 2002, John Nichel wrote:
>
> > No. To get the binary executable, compile it without the apache switch.
> >
> > ed@home.homes2see.com wrote:
> > > When you compile php for apache using the dynamic module example used in
> > > the documentation, do you not get an exacutable php to use from the
> > > command line?
> > >
> > > Ed
> > >
> > >
> > >
> >
> >
> > --
> > By-Tor.com
> > It's all about the Rush
> > http://www.by-tor.com
> >
>