Re: Dynamic vs. Static
| From: | John Nichel | Date: | Tue, 10 Dec 2002 02:30:43 +0000 |
| Subject: | Re: Dynamic vs. Static | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127593@lists.php.net to get a copy of this message | ||
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 -- <ed@home.homes2see.com> wrote in message news:Pine.LNX.4.04.10212091530330.28871-100000@home.homes2see.com...-- By-Tor.com It's all about the Rush http://www.by-tor.comCan 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