Local Server Configuration
Local Server Installation
Note:
- Establishing a local server is a mandatory prerequisite for the successful installation of Multikart. Ensure that you configure the local server before initiating the installation process.
- If you are Installing Application on the internet server you no need to worry about server like XAMPP or MAMPP, ensure your server must support with PHP & MySQL.
To run application you need to download web server.
- For Mac systems download MAMPP or XAMPP Server.
- For Windows systems download MAMPP or XAMPP Server.
- For Linux systems download LAMPP or XAMPP Server.
MAMPP Server you can download it from https://www.mamp.info/en/mamp/ for Windows/Mac, For Mac OS installation steps are here and For Windows installation steps are here
XAMPP Server you can download it from https://www.apachefriends.org/download.html for Windows/Linux/Mac
Note: For demonstration we are using here XAMPP Server configuration for Mac/Window and for Linux we are using here LAMP Server. In all the servers have MySQL extensions. No need to download third party MySQL.
XAMPP Configuration In Mac OS
Install XAMPP
Note: You can skip these steps if XAMPP is already installed on your system.
- Steps here to Install XAMPP for Mac OS.
After installing XAMPP, here are a few steps you might want to consider.
- Open the XAMPP control panel to manage localhost server.
- Click Open Application Folder in the XAMPP control panel.
- In the application folder, open the etc folder and find the my.cnf file where MySQL settings are stored.
- Right-click in the my.cnf file to open it in a Text Editor.
- In the Text Editor, find max_allowed_packet and increase 100M, to allow a maximum data size 100M sent to the MySQL server.
-
Similarly, find wait_timeout to extend the MySQL connection idle time to
3000.
- Save the modified my.cnf file, then go back to the XAMPP control panel and restart the server.



XAMPP Configuration In Windows
Install XAMPP
Note: You can skip these steps if XAMPP is already installed on your system.
- Steps here to Install XAMPP for Windows OS.
After installing XAMPP, here are a few steps you might want to consider.
- Open the XAMPP Control Panel.
- Click config in the Apache section. This allows you to manage apache server.
- In the Apache section, choose "Select PHP (php.ini)."
- In the php.ini file, find max_execution_time and increase value to max_execution_time=3000 for extended execution time.
- Find the extension=gd in php.ini. Remove the semicolon (;) at the beginning of the line to enable the GD extension. This is necessary for image processing in PHP.
- Click config in the MySQL section.
- Open the my.ini file. This file controls MySQL database.
- In the my.ini file, find max_allowed_packet. Increase its value 100M to handle larger data packets. For example, set it to max_allowed_packet=100M for bigger data transfers.
- Once you've made all these changes in both Apache and MySQL, you'll need to restart XAMPP to apply the changes.



LAMP Configuration In Ubuntu
Install LAMP (Linux, Apache, MySQL, PHP)
Note: You can skip these steps if LAMP is already installed on your system.
- Steps here to Install LAMP for Ubuntu OS.
After installing LAMP, here are a few steps you might want to consider.
-
Use a text editor to open the PHP configuration file. By default, you'll find it at
/etc/php/8.2/fpm/php.ini
. -
Inside the php.ini file, find the following keys and increase their values as shown
below:
- max_execution_time = 30 to 3000
- max_input_time = 30 to 3000
- memory_limit = 16M to 100M
- post_max_size=2M to 100M
- upload_max_filesize = 2M to 100M
- Save the php.ini file after making these changes.
- Restart the Apache server using the following command:
sudo systemctl restart apache2