Bug #67760 [NEW]: Files are cached in OSX 10.10 "Yosemite" when using built-in server
| From: | hello at alexbilbie dot com | Date: | Mon, 04 Aug 2014 15:54:53 +0000 |
| Subject: | Bug #67760 [NEW]: Files are cached in OSX 10.10 "Yosemite" when using built-in server | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186961@lists.php.net to get a copy of this message | ||
From: hello at alexbilbie dot com
Operating system: OSX 10.10 Yosemite
PHP version: 5.5.15
Package: Built-in web server
Bug Type: Bug
Bug description:Files are cached in OSX 10.10 "Yosemite" when using built-in server
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 bug report at https://bugs.php.net/bug.php?id=67760&edit=1
--