php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59781 The apc.stat=0 check the file exists
Submitted: 2011-05-24 14:19 UTC Modified: 2016-08-31 16:03 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: zhihong dot chen dot cn at gmail dot com Assigned: cmb (profile)
Status: Wont fix Package: APC (PECL)
PHP Version: 5.3.5 OS: Ubuntu 8.04.4 LTS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zhihong dot chen dot cn at gmail dot com
New email:
PHP Version: OS:

 

 [2011-05-24 14:19 UTC] zhihong dot chen dot cn at gmail dot com
Description:
------------
PHP version is 5.3.6

When setting the apc.stat=0.
There is hello.php, when I modify the output of 
hello.php.
The output page doesn't change. 
That means apc.stat=0 works on such condition.
But when I rename hello.php as h.php.
The error shows:
No input file specified.

I am checking the "sapi/fpm/fpm/fpm_main.c" line 1903.
That means, when working with fpm, PHP will check each time 
for the file exist. Cause apc.stat=0 not work.



Reproduce code:
---------------
<?PHP
echo 'Hello world!'



Expected result:
----------------
When rename the hello.php as h.php.
Output will be Hello world!

Actual result:
--------------
No input file specified.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-31 16:03 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2016-08-31 16:03 UTC] cmb@php.net
According to <https://bugs.php.net/69618>, APC support has been
discontinued in favor of OPcache, APCu, the session upload
progress API and WinCache. Therefore this issue won't get fixed.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 13:01:28 2025 UTC