Skip to content

Conversation

@maskeynihal
Copy link
Contributor

🐘 Add support for PHP 8.3, 8.4, and 8.5

📝 Description

This PR adds support for the latest PHP versions (8.3, 8.4, and 8.5) to the nginxconfig.io PHP server configuration options. Users can now select these newer PHP versions when configuring their nginx setup.

🔧 Changes Made

  • Core functionality: Added PHP 8.3, 8.4, and 8.5 socket options to the PHP server dropdown
  • Internationalization: Updated all 11 supported language translations:
    • 🇺🇸 English
    • 🇩🇪 German
    • 🇪🇸 Spanish
    • 🇫🇷 French
    • 🇧🇷 Portuguese (Brazil)
    • 🇮🇷 Farsi
    • 🇯🇵 Japanese
    • 🇨🇳 Chinese (Simplified)
    • 🇹🇼 Chinese (Traditional)
    • 🇷🇺 Russian
    • 🇵🇱 Polish

📂 Files Modified

  • php.vue - Added new PHP socket configurations
  • php.js - Updated translations for all supported languages

✨ What this enables

  • Users can now configure nginx with PHP 8.3, 8.4, or 8.5 FPM sockets
  • Support for both primary and backup PHP server configurations
  • Proper localization across all supported languages
  • Future-proofing for upcoming PHP releases

🔍 Technical Details

Added socket paths:

  • /var/run/php/php8.3-fpm.sock
  • /var/run/php/php8.4-fpm.sock
  • /var/run/php/php8.5-fpm.sock

Each with corresponding i18n keys: php83Socket, php84Socket, php85Socket

📊 Impact

  • Breaking changes: None
  • Backward compatibility: Fully maintained
  • New features: 3 new PHP version options
  • Files changed: 12 files, +36 additions

🧪 Testing

  • ✅ No syntax errors introduced
  • ✅ All language files properly updated
  • ✅ Vue component correctly references new i18n keys
  • ✅ Maintains existing functionality

This PR keeps nginxconfig.io up-to-date with the latest PHP ecosystem and ensures users have access to modern PHP versions for their nginx configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant