php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57198 Cached Page functions.php not accessible on subsequent requests
Submitted: 2006-08-27 05:52 UTC Modified: 2006-08-27 11:58 UTC
From: jan dot monsch at csnc dot ch Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: 5.0.4 OS: OpenBSD 3.8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-08-27 05:52 UTC] jan dot monsch at csnc dot ch
Description:
------------
I have Wordpress running on my site. But when activating APC the site breaks when wp-includes/functions.php is cached. This problem prevents the creation of blog entries.

Environment:
- Wordpress 2.0.4
- Apache 1.3.29 which comes with OpenBSD 3.8
- PHP 5.0.4p0 (Only port available for OpenBSD)
- APC 3.0.8 (Last version compatible with PHP 5.0.x)
- MySQL 4.0.27



Reproduce code:
---------------
Repro:
- apachectl stop
- apachectl start
- Login to admin area of Wordpress
- Access following URL:
http://www.foo.bar/wp-admin/themes.php?page=functions.php
- Page gets loaded
- Press Load-Button in Browser then the following error message is shown: "Cannot load functions.php."
- Further reloads yield the same error.

Addition to the php.ini:
extension=apc.so   
apc.enabled=1      


Expected result:
----------------
Subsequent access to URL
http://www.foo.bar/wp-admin/themes.php?page=functions.php should always yield the web page.

Actual result:
--------------
Error message "Cannot load functions.php."

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-27 11:58 UTC] rasmus@php.net
You'll need to move to PHP 5.1 and the latest APC.  PHP 5.0.x is not supported.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Sep 28 10:01:24 2020 UTC