> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/technique/installation-site-web/php.md).

# PHP

Version : de 8.2.\
Extensions requises :\\

\
CTYPE,\
CURL, Attention, sous windows il faut spécifier la variable curl.cainfo dans le php.ini\
FileInfo,\
GD2,\
Intl,\
JSON,\
LibXML,\
MBString,\
OPENSSL\
XML,

\
Extensions facultatives :\\

\
EXIF,\
Tokenizer,\
IConv,\
POSIX,\
APCU (sous windows, cette extension n’est pas recommandée)

\
**NB** : Bien que facultative, l’installation d’APCU ou d’un autre gestionnaire de cache peut grandement\
améliorer les performances du serveur Web. Son installation reste toutefois réservée aux techniciens\
avertis, *il ne faut surtout pas conserver la taille de cache par défaut*.

Réglages PHP requis / conseillés :&#x20;

**Variable** :  date.timezone&#x20;

always\_populate\_raw\_post\_data&#x20;

short\_open\_tag&#x20;

magic\_quote\_gpc&#x20;

register\_globals&#x20;

session\_auto\_start&#x20;

memory\_limit&#x20;

post\_max\_size&#x20;

upload\_max\_filesize&#x20;

apc.shm\_size&#x20;

apc.ttl

**Valeur :**&#x20;

\[Timezone valide]&#x20;

-1&#x20;

Off

Off\
Off\
Off

> \= 256M> \
> \= 16M> \
> \= 16M> \
> \= 128M> \
> 43200 conseillé


---

# 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://doc.simax.fr/technique/installation-site-web/php.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.
