> For the complete documentation index, see [llms.txt](https://fademaze.gitbook.io/fademaze-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fademaze.gitbook.io/fademaze-docs/php/generate-php.ini-file.md). Agents can also search and read this documentation through its [MCP server](https://fademaze.gitbook.io/fademaze-docs/~gitbook/mcp).

# Generate php.ini file

This guide will show you how to create php.ini for production and development, provided that the host has the php.ini-production and php.ini-production file.

### Production

`cp $(find /etc /usr -name "php.ini-production" 2>/dev/null | head -n 1) ./php.ini`&#x20;

### Development

`cp $(find /etc /usr -name "php.ini-development" 2>/dev/null | head -n 1) ./php.ini`
