Have you enabled APC? If so, have you set apc.stat=0. If apc.stat is 0 then php
doesn't look for changes in the file. apc.stat = 0 is good for production but
for development it should be set to 1.
Regards,
Basant.
On Thu, Feb 05, 2009 at 10:01:04AM -0800, Louis Hoefler wrote:
> Hi everyone.
> I use opensolaris CE b106, and use CIFS with the apache2 server with php.
>
> I work on a windows machine and use the network sharing feature for editing
> the php files remotely.
> Now here is my problem:
> I have a single php script lets call it sample.php:
> <?php
> print("test");
> print("test2");
> ?>
> This script simply shows the string "test" in my webbrowser.
> Now I edit the same file remotely and save it. Now the content is:
> <?php
> print("test2");
> ?>
>
> I should now see the string "test2" if I click on refresh within my browser,
> but somehow the browser shows "test".
> I disabled all client side caching features, tested the output with 2
> browsers but nothing changed.
> After I log in remotely with ssh and execute
>
> svcadm restart apache2
>
> the output changes from "test" to "test2".
> I thought thats becouse of some caching features turned on by default, and
> disabled 4 caching modules
>
> #LoadModule file_cache_module libexec/mod_file_cache.so
> #LoadModule cache_module libexec/mod_cache.so
> #LoadModule disk_cache_module libexec/mod_disk_cache.so
> #LoadModule mem_cache_module libexec/mod_mem_cache.so
>
> then I restarted apache again. I made the same two steps in the other
> direction, and I still need to do a
> svcadm restart apache2
> to refresh the php output.
>
> Are there any other caching modules enabled by default, I searched the config
> files but did not found anything. How do I fix this problem?
>
> Thanks Louis Hoefler.
> --
> This message posted from opensolaris.org
> _______________________________________________
>
>
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss