Developer Faqs
Developer Faqs
- Does Aero support Laravel Homestead installation?
- Can I use Aero project credentials across multiple projects?
- Is Laravel required to run Aero?
- What versions of Elasticsearch does Aero support?
- Which versions of PHP will Aero run on?
- How do I configure the PHP memory limit?
Does Aero support Laravel Homestead installation?
Yes, Homestead is supported on Windows, Mac or Linux provided your Vagrant box configuration meets the system requirements
Can I use Aero project credentials across multiple projects?
No, Credentials must not be shared between projects.
Is Laravel required to run Aero?
Yes, the Aero platform is built on top of the Laravel framework. Knowledge of Laravel is not essential for basic Aero development but will help with more complex actions and configurations.
What versions of Elasticsearch does Aero support?
Aero supports both Elasticsearch 6.x and 7.x.
Support for Elasticsearch 6.x is provided by the 0.x version of aerocommerce/elastic-search.
Support for Elasticsearch 7.x is provided by the 1.x version of aerocommerce/elastic-search.
Which versions of PHP will Aero run on?
Aero requires PHP Version 7.2 and above.
How do I configure the PHP memory limit?
Due to the number of fields that are sometimes present in the admin, it may be necessary to adjust the PHP max_input_varsvalue. The default of 1,000 fields can be too small when managing a product that contains hundereds of variants. This limit is quickly reached when considering how many fields each variant has.
Data will be truncated by the server
A form that contains more fields than PHP is configured to accept will result in lost or corrupted data.
The max_input_varsvalue is defined in the php.ini file. On a Linux server, this is typically located:
# PHP 7.3
/etc/php/7.3/php-fpm/php.ini
# PHP 7.4
/etc/php/7.4/php-fpm/php.ini
# PHP 8.0
/etc/php/8.0/php-fpm/php.ini
On macOS when using Homebrew:
# PHP 7.3
/usr/local/etc/php/7.3/php.ini
# PHP 7.4
/usr/local/etc/php/7.4/php.ini
# PHP 8.0
/usr/local/etc/php/8.0/php.ini
We recommend a value of 10,000. You should either search for the existing entry, or add to the bottom of the file:
max_input_vars=10000
Once set, you'll need to reload PHP-fpm.
# Linux (PHP 7.3)
sudo service php7.3-fpm reload
# Linux (PHP 7.4)
sudo service php7.4-fpm reload
# Linux (PHP 8.0)
sudo service php8.0-fpm reload
# macOS (Laravel Valet)
valet restart