Where php.ini is located
Where php.ini is located
Location of php.ini is /etc/php/7.x/fpm/php.ini
(where 7.x is 7.3 for example)
After you make the changes, you should restart php-fpm:
(where 7.x is 7.3 for example)
Please note:
These variables you should change there.
Also restart php-fpm after those changes.
If you need different default values for newly created domains, edit /usr/local/vesta/data/templates/web/apache2/PHP-FPM-7x.sh files.
(where 7.x is 7.3 for example)
After you make the changes, you should restart php-fpm:
Code: Select all
service php7.x-fpm restart
Please note:
- memory_limit
- max_execution_time (also consider: request_terminate_timeout)
- upload_max_filesize
- post_max_size
- open_basedir
- upload_tmp_dir
- sendmail_path
- mysql.allow_persistent
- safe_mode
These variables you should change there.
Also restart php-fpm after those changes.
If you need different default values for newly created domains, edit /usr/local/vesta/data/templates/web/apache2/PHP-FPM-7x.sh files.
Tags: