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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 23:01:30 2024 UTC