https://github.com/mrgkanev/php-fpm-process-calculator
PHP-FPM Process Calculator for optimizing PHP pool settings and Nginx configurations. It allows users to calculate the optimal settings for their PHP-FPM pool based on their server's RAM, buffer, and process size.
https://github.com/mrgkanev/php-fpm-process-calculator
nginx nginx-configuration php php-fpm
Last synced: about 1 month ago
JSON representation
PHP-FPM Process Calculator for optimizing PHP pool settings and Nginx configurations. It allows users to calculate the optimal settings for their PHP-FPM pool based on their server's RAM, buffer, and process size.
- Host: GitHub
- URL: https://github.com/mrgkanev/php-fpm-process-calculator
- Owner: MrGKanev
- License: mit
- Created: 2024-07-22T08:09:35.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T16:28:04.000Z (over 1 year ago)
- Last Synced: 2025-03-09T00:25:54.120Z (over 1 year ago)
- Topics: nginx, nginx-configuration, php, php-fpm
- Language: HTML
- Homepage: http://php-fpm.gkanev.com/
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP-FPM Process Calculator
This project is a PHP-FPM Process Calculator for optimizing PHP pool settings and Nginx configurations. It allows users to calculate the optimal settings for their PHP-FPM pool based on their server's RAM, buffer, and process size.
## Overview
The PHP-FPM Process Calculator helps system administrators and developers optimize their PHP-FPM configurations by providing an easy-to-use interface to calculate the maximum number of child processes, start servers, and spare servers. It includes sliders and input fields for various parameters and generates the configuration settings dynamically.
## Usage
1. Adjust the sliders or input fields for Total RAM, Reserved RAM, RAM Buffer, and Process Size.
2. The available RAM, available RAM in MB, and PHP-FPM settings will be calculated and displayed in real-time.
3. Use the "Copy to Clipboard" button to copy the generated PHP-FPM settings for use in your server configuration.
## Useful Commands
- Continuously watch for changes in the `style.css` file, updating the output file whenever changes occur.
```bash
npx @tailwindcss/cli -i ./assets/style.css -o ./assets/style.min.css --watch
```
- Generate a minified version of the CSS
```bash
npx @tailwindcss/cli -i ./assets/style.css -o ./assets/style.min.css --minify
```
Idea from: