Setting up a local server for SaasCart installation
XAMPP Configuration in Mac OS
etc
folder and locate the my.cnf
file where MySQL settings are stored.my.cnf
file to open it in a Text Editor.max_allowed_packet
and set it to 100M
to allow a maximum data size of 100M sent to the MySQL server.wait_timeout
and extend the MySQL connection idle time to 3000
.my.cnf
file, then return to the XAMPP control panel and restart the server.XAMPP Configuration in Windows
php.ini
file:
max_execution_time
and increase its value to max_execution_time=3000
for extended execution time.extension=gd
. Remove the semicolon (;
) at the beginning of the line to enable the GD extension, which is necessary for image processing in PHP.my.ini
file, which controls MySQL database settings.my.ini
file:
max_allowed_packet
and set it to 100M
to handle larger data packets.LAMP Configuration in Ubuntu
/etc/php/8.2/fpm/php.ini
.
php.ini
file, find the following keys and increase their values as shown:
max_execution_time = 3000
(from the default of 30)max_input_time = 3000
(from the default of 30)memory_limit = 100M
(from the default of 16M)post_max_size = 100M
(from the default of 2M)upload_max_filesize = 100M
(from the default of 2M)php.ini
file after making these changes.