-
Notifications
You must be signed in to change notification settings - Fork 4
PHP
Christopher Webb edited this page Oct 27, 2021
·
14 revisions
We use:
- Ubuntu
- Apache2
- PHP 7.4
We recommend using PHP 7.4 with the following packages & optimizations.
After package install and ini file modification be sure to run sudo service apache2 restart
sudo apt install php7.4-intl
sudo apt install php7.4
sudo apt install php7.4-bcmath
sudo apt install php7.4-curl
sudo apt install php7.4-gd
sudo apt install php7.4-geoip
sudo apt install php7.4-mbstring
sudo apt install php7.4-memcached
sudo apt install php7.4-mysql
sudo apt install php7.4-xml
sudo apt install php7.4-zip
sudo service apache2 restart
To find the php.ini
for the install you can visit the Admin > Tools page and check the Server Tab at the /admin/server/ URL.
Find Loaded Configuration File /PATH/php.ini
If none is present, find Configuration File (php.ini) Path & copy the default.php.ini
to php.ini
to the path.
Update the below-recommended setting.
Update: Please note that we recommend adding PHP settings modifications to conf.d instead of directly modifying the packages default php.ini file.
max_execution_time = 300
max_input_time = -1
max_input_vars = 10000
memory_limit = 256M
post_max_size = 20M
upload_max_filesize = 20M
sudo service apache2 restart
- Home
-
Quick Start
- Environment Overview
-
Environment setup
- Composer
- Docker
- Installation
- Configuration
- Post Installation
- Documentation
- FAQ