# apache2filter bug#38904

- Thread: https://externals.io/message/25800
- Original archive: https://news-web.php.net/php.internals/25800
- Started by Hannes Magnusson on 2006-09-22T12:21:13+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #25800 — Hannes Magnusson — 2006-09-22T12:21:13+00:00

URL: https://externals.io/message/25800#25800

Hi all.

Attached is a patch for bug#38904 which is caused by the fact
php_execute_script() only `chdir()`s if zend_file_handle type is set to
ZEND_HANDLE_FILENAME, but since the re-implementation of the
apache2filter it is set to ZEND_HANDLE_STREAM now.

The patch doesn't seem to break any of our tests or anything, but
fiddling around there scares me so I would appreciate if someone could
sanity-check it and verify that it is the-way-to-go.

-Hannes
