Hi John,

Can we share your Perl script?
I compiled with switch "--with-apxs=/usr/local/apache/bin/apxs"
Is it that apache switch?

Thanks

Tariq


John Nichel wrote:
I went thru the same problem, so one day I just sat down, and wrote a Perl script that does the module and binary at the same time. Saved me alot of grief.

Scott Hurring wrote:

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
--
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

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.

[EMAIL PROTECTED] 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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to