I have the same problem right now with WP 3.0.1 + APC 3.1.4 + PHP 5.3.3
Did you find a workaround ?
I got bitten by this too. It was a site that was running just fine on PHP 5.2.x, but upgrading to 5.3.x broke it.
The specific symptoms are that include_once and require_once became no-op, and never included the subject file even if it was the first hit since the server started.
Disabling the APC cache resumed service in the WP admin. But that’s hardly what you would term a fix. This led me to the apc.include_once_override configuration directive, which I turned off and service has resumed.
[ long rant about the steaming pile of annoyance that php 5.3 has been deleted ]
I lied. That only seemed to work. APC is off for me now.
I configured apc.include_once_override = 0 and my WordPress Admin is working great now.
Nico-
Check again, if you can. For me, service was okay for a brief while (not a certain # of hits, but just a little while) and then ceased.
@svanegmond : it’s still working but my site is still in staging.
Here is my full APC conf :
Directive Local Value
apc.cache_by_default On
apc.canonicalize On
apc.coredump_unmap Off
apc.enable_cli Off
apc.enabled On
apc.file_md5 Off
apc.file_update_protection 2
apc.filters no value
apc.gc_ttl 3600
apc.include_once_override Off
apc.lazy_classes Off
apc.lazy_functions Off
apc.max_file_size 1M
apc.mmap_file_mask /tmp/apc.fmF19e
apc.num_files_hint 2000
apc.preload_path no value
apc.report_autofilter Off
apc.rfc1867 Off
apc.rfc1867_freq 0
apc.rfc1867_name APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_
apc.rfc1867_ttl 3600
apc.shm_segments 1
apc.shm_size 120M
apc.slam_defense Off
apc.stat On
apc.stat_ctime Off
apc.ttl 7200
apc.use_request_time On
apc.user_entries_hint 4096
apc.user_ttl 7200
apc.write_lock On
Ha. Mine just said:
extension=apc.so
apc.shm_size = 128M
apc.include_once_override = 0
I’ll try your config, after checking out what it all means, and report back.
My conf is what is shown with phpinfo(), you know.
I guess my apache custom conf is just “apc.include_once_override = 0”
Your config settings are all standard, except for the TTL settings and the mmap file mask. The mmap file mask is a substantial setting. I used your config file with no changes, and it didn’t work for me.
Hnnnngh.
(This is php 5.3.2 and apc 3.1.3p1-2, from Debian)
My php is 5.3.3 and APC 3.1.4, system is Ubuntu like twiz in the first post.
Hope that helps
Not sure if I am posting in the right place but I am getting the following at the top of my admin page:
Warning: mkdir() [function.mkdir]: File exists in /home/content/28/6478128/html/wp-content/plugins/theme-options/library/snippet_functions.php(357) : eval()’d code on line 290
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/28/6478128/html/wp-content/plugins/theme-options/library/snippet_functions.php(357) : eval()’d code:290) in /home/content/28/6478128/html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1124
I am having trouble posting and adding images. Can anyone help me?
I recently installed APC and was getting white screen of death. Thanks to input in this thread, I resolved it by setting apc.include_once_override=0
I also updated to the latest version of APC using PECL, although I cannot say that I saw anything relevant to the wp issue in the release notes.
FYI – I’m running Ubuntu 5.2.6-3ubuntu4.6, APC 3.1.6 and WP 3.0.4
Danny Lieberman