- Newest
- Most votes
- Most comments
Hello.
You must do several things:
Navigate to the PHP Configuration Folder: In Lightsail, the PHP configuration files are typically located in /opt/bitnami/php/etc/. You can use the cd command to navigate to this directory.
cd /opt/bitnami/php/etc/
Edit the php.ini File: You will need to edit the php.ini file to modify the MAX_EXECUTION_TIME and MAX_INPUT_VARS values. You can use a text editor like nano or vim. Here's an example using nano:
sudo nano php.ini
Inside the php.ini file, locate the following lines and modify them as needed: max_execution_time = 120 max_input_vars = 1000
Save and Exit: In nano, you can save the changes by pressing Ctrl + O, then press Enter. To exit, press Ctrl + X.
Restart the Apache Web Server: After making changes to the PHP configuration, it's a good practice to restart the Apache web server to apply the changes:
sudo /opt/bitnami/ctlscript.sh restart apache
Best regards, Andrii
Relevant content
- asked a year ago
- asked 4 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 months ago
I followed the instruction but still it seems the files size not changed!