> For the complete documentation index, see [llms.txt](https://phper.shujuwajue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li.md).

# PHP选项和运行原理

- [PHP SAPI](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li/php-sapi.md)
- [PHP运行模式及安装方式](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li/phpyun-xing-mo-shi-ji-an-zhuang-fang-shi.md)
- [附录:进程和线程的Q解](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li/fu-5f553a-jin-cheng-he-xian-cheng-de-q-jie.md)
- [Apache下的MPM模式](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li/apachede-mpm-mo-shi.md)
- [Apache 与 Nginx](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li/apache-yu-nginx.md)
- [PHP的运行机制及原理](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li/phpde-yun-xing-ji-zhi-ji-yuan-li.md)
- [PHP垃圾回收机制](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li/phpla-ji-hui-shou-ji-zhi.md)
- [PHP配置选项](https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li/phppei-zhi-xuan-xiang.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://phper.shujuwajue.com/phpxuan-xiang-he-yun-xing-yuan-li.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
