ide:~/project$ php -v
PHP 8.2.7 (cli) (built: Jul 6 2023 13:01:51) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies
Configuring PHP settings¶
To override the default PHP settings for Cloud IDE, you must change the following file:
/home/ide/configs/php/custom.ini
The PHP settings that you can change include, but are not limited to the following:
memory_limit
max_upload_file_size
post_max_size
max_execution_time
The following is an example of changes made to PHP settings:
max_upload_file_size = 100M
post_max_size = 50M
max_execution_time = 240
memory_limit = 1G
To restart PHP-FPM to apply the changes you made, run the following command:
acli ide:service-restart php