Add PHP Setttings

Llewellyn 2024-04-16 16:31:14 +00:00
parent 788bf21378
commit 9c3fb37f11

42
PHP-Setttings.md Normal file

@ -0,0 +1,42 @@
**Important Notice: Configuration Adjustment Required**
One or more of the PHP configuration settings on your server do not meet the recommended thresholds for optimal operation of the Joomla Component Builder (JCB). To ensure smooth installation and functioning of JCB, please follow these steps to update your PHP settings:
1. **Locate the PHP Configuration File (php.ini):**
- For server installations, this file is typically located in your server's PHP installation directory. The path might differ based on your hosting environment.
- For shared hosting, you might need to access the php.ini file via your hosting control panel. Look for sections titled "PHP Settings," "Software," or "Service Configuration."
2. **Edit the php.ini File:**
- Open your php.ini file with a text editor if you have direct access, or use the editor provided in your hosting control panel.
- Locate the following entries in the file (if an entry does not exist, you may add it at the end of the file):
- `upload_max_filesize`
- `post_max_size`
- `max_execution_time`
- `max_input_vars`
- `max_input_time`
- `memory_limit`
- Update these entries to reflect the recommended values as specified in the warning message you received. For example:
```
upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 60
max_input_vars = 7000
max_input_time = 60
memory_limit = 256M
```
3. **Save Changes and Restart Your Web Server:**
- After making the changes, save your php.ini file.
- Restart your web server software (e.g., Apache, Nginx) to apply the changes. This process may differ depending on whether you are using a local server, a managed hosting service, or a server with administrative access.
4. **Verify the Changes:**
- You can verify the changes by creating a PHP info file (e.g., `info.php`) containing the following code and accessing it via your web browser:
```php
<?php phpinfo(); ?>
```
- This file will display all current PHP configuration settings. Check to ensure that your changes are reflected in the PHP information output.
5. **Contact Support If Issues Persist:**
- If you are unsure how to make these changes, or if the settings do not update as expected, please contact your hosting provider's support team for further assistance. Provide them with the details of the required changes.
By following these steps, you will help ensure that your JCB environment is configured optimally, leading to improved performance and stability. If you have any questions or need further assistance, do not hesitate to reach out to technical support.