Page 1 of 1

PHP Cache?

Posted: Fri Dec 10, 2004 10:03 am
by jkassemi
PHP Cache?

Does the PHP executable function with a cache of some sort? If so, how can I turn it off!!!

I'm pretty new to this language, so forgive my newbieness...

I have written a fairly simple program (but multipage so hard to post snips), but often times when I save the page and rerun the script, it doesn't apply the changes I have made when I reload it, no matter what the browser.

I've thought that it might be my server, which I changed recently to OpenSA (wanted the SSL), but my Apache version hasn't changed and the values in httpd.conf are the same now...

It usually happens after about six hours of coding, so I end up getting a tad frustrated, as you could imagine. Anyway, any ideas?

Posted: Sat Dec 11, 2004 5:25 am
by kettle_drum
There is probably a cache server between you and the server. Some times your ISP will be using one without you really knowing. Do you not have a local server you could test your code on before uploading it? Its a fairly simple task to set up apache/php/mysql on any OS - maybe you should try that.

Posted: Sat Dec 11, 2004 11:42 am
by jkassemi
Thanks for the help, but I got it fixed... I'm running Apache on my computer right now, and I guess if I restart the server the problems go away. I don't want to mess with too many settings just yet because I don't know if I'm going to host the site or if I'll have someone else do it, so this will work for now.

Appreciate it.