Bug #67760 [Opn->Fbk]: Files are cached in OSX 10.10 "Yosemite" when using built-in server

From: Date: Mon, 04 Aug 2014 22:21:26 +0000
Subject: Bug #67760 [Opn->Fbk]: Files are cached in OSX 10.10 "Yosemite" when using built-in server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186970@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67760&edit=1 ID: 67760 Updated by: requinix@php.net Reported by: hello at alexbilbie dot com Summary: Files are cached in OSX 10.10 "Yosemite" when using built-in server -Status: Open +Status: Feedback Type: Bug Package: Built-in web server Operating System: OSX 10.10 Yosemite PHP Version: 5.5.15 Block user comment: N Private report: N New Comment: What are your opcache settings? Specifically - opcache.validate_timestamps - opcache.revalidate_freq Use phpinfo() to be sure you're getting the right values. Previous Comments: ------------------------------------------------------------------------ [2014-08-04 21:25:19] hello at alexbilbie dot com @FA This is a bug report for OSX Yosemite, not Ubuntu or any other OS...for the sake of clarity, I can't recreate this problem on any other OS ------------------------------------------------------------------------ [2014-08-04 21:17:02] fa@php.net Seems to work as intended on Ubuntu 12.04.4 LTS. ------------------------------------------------------------------------ [2014-08-04 15:54:53] hello at alexbilbie dot com Description: ------------ When using the built-in server files are cached and don't reflect updates unless the server is restarted. Test script: --------------- 1) Save index.php to a directory: ``` <?php echo 'hello, world'; ``` 2) Run the server in the directory where index.php is located: php -S localhost:7777 3) Go to http://localhost:7777/index.php in your browser, output will be "Hello world" 4) Change the echo statement in index.php to output something else and save the file 5) Refresh http://localhost:7777/index.php, output will still be "Hello world" instead of the new echo statement Expected result: ---------------- The server will reflect the code in the file without being restarted Actual result: -------------- The output is always the same ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67760&edit=1

« previous php.bugs (#186970) next »