PHP 4.0 Bug #9160: When using the include() function, the file being included is cached by php
| From: | john at 3050ad dot co dot uk | Date: | Wed, 07 Feb 2001 18:14:38 +0000 |
| Subject: | PHP 4.0 Bug #9160: When using the include() function, the file being included is cached by php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45975@lists.php.net to get a copy of this message | ||
From: john@3050ad.co.uk
Operating system: Redhat Linux 7.0 Kernal 2.2.16-22 Apache 1.3.12
PHP version: 4.0.3pl1
PHP Bug Type: Unknown/Other Function
Bug description: When using the include() function, the file being included is cached by php
When I use the include() command to include one PHP script inside another, the script that is being
incuded gets cached by PHP for a long period of time. I have not experienced this in any previous
version of PHP4, using exactly the same scripts. When I edit, or even delete the script thats being
included, PHP still behaves as if the script is still there and hasn't been modified.
The final page which PHP outputs to the the browser is NOT being cached, I have verified this by
making a change to the script that is using the include() command to include the 2nd script. When I
change that first script the change shows up in the browser, so it is clear that the page is not
being cached. The only thing being cached is that second script which is include()ed from the first
one.
The output of phpinfo() running on my server can be viewed at this url:
http://salvador.ida-corp.net/test.php
--
Edit Bug report at: http://bugs.php.net/?id=9160&edit=1