RE: [PHP] Dynamic to Static

2004-07-15 Thread Edwards Jim
] Dynamic to Static Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed -- PHP General Mailing List (http

Re: [PHP] Dynamic to Static

2004-07-15 Thread raditha dissanayake
Ed Lazor wrote: Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? The best example of this that I have seen is in the mediawiki

Re: [PHP] Dynamic to Static

2004-07-15 Thread Mirek Novak
Hi, Ed Lazor wrote: Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed I'm using two-way or two-step caching - I'll try to

RE: [PHP] Dynamic to Static

2004-07-15 Thread Robert Sossomon
Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? I looked at doing it, wrote a single PHP-page that when I accessed would make static

[PHP] Dynamic to Static

2004-07-14 Thread Ed Lazor
Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed

[PHP] Dynamic vs Static Builds

2004-02-05 Thread John McKerrell
Hi, I've been working with a PHP for a few years now. I've always thought that on production servers, to have them working at peak efficiency, I should have the Apache and PHP compiled as a static build. I recently got into a debate with someone over whether this had any worthwhile savings. Can

Re: [PHP] Dynamic vs Static Builds

2004-02-05 Thread John McKerrell
On Thu, 2004-02-05 at 16:12, vidyut luther wrote: Hi John, A couple of questions.. 1. Define high load. Er.. that's quite a personal question, apparently we get 58 million hits a month but some days will be much busier than others (we're a soccer site, match days are busiest). The load is

Re: [PHP] Dynamic vs Static Builds

2004-02-05 Thread Jason Wong
On Friday 06 February 2004 00:44, John McKerrell wrote: 2. Why are the servers being restarted once a day ? There shouldn't be a need to restart unless something is going wrong. For cycling the logs, we've got scripts setup to sort them out each day - backing them up and suchlike, which

[PHP] Dynamic vs. Static

2002-12-09 Thread ed
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

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread John Nichel
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 -- By-Tor.com It's all about the

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread ed
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

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread Scott Hurring
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

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread John Nichel
Yes you can. Just use clean source, but the config line can be the same less the --with-apache switch. [EMAIL PROTECTED] wrote: 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:

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread ed
Thanks to all that replied. Ed On Mon, 9 Dec 2002, John Nichel wrote: Yes you can. Just use clean source, but the config line can be the same less the --with-apache switch. [EMAIL PROTECTED] wrote: Can I do that using the same src I used to create the dynamic module and both

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread John Nichel
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'

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread Tariq Murtaza
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.

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread John Nichel
It probably wouldn't help you all that much. Since it was for my own personal use, I hardcoded directory paths and such for my personal set up. I used to do it with a shell script too (nothing fancy there either). Just configure it again without apxs ./configure --with-whateveroptions

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread Tariq Murtaza
Thanks very much John :) John Nichel wrote: It probably wouldn't help you all that much. Since it was for my own personal use, I hardcoded directory paths and such for my personal set up. I used to do it with a shell script too (nothing fancy there either). Just configure it again without