Local Server Installation
Note: Establishing a local server is a mandatory prerequisite for the successful installation of SaasCart. Ensure that you configure the local server before initiating the installation process.
Required Web Server Software
To run the application, you need to download and install a web server. Here are the recommended options based on your operating system:- For Mac systems: Download MAMPP or XAMPP Server.
- For Windows systems: Download MAMPP or XAMPP Server.
- For Linux systems: Download LAMPP or XAMPP Server.
Download Links
- MAMPP Server: Download here for Windows/Mac.
- XAMPP Server: Download here for Windows/Linux/Mac.
Note: For demonstration purposes, we are using XAMPP Server configuration for Mac/Windows and LAMP Server for Linux. All servers come with MySQL extensions pre-installed, so there’s no need to download MySQL separately.
XAMPP Configuration in Mac OS
XAMPP Configuration in Mac OS
Install XAMPP
Note: You can skip these steps if XAMPP is already installed on your system.
- Open the XAMPP control panel to manage the localhost server.
- Click Open Application Folder in the XAMPP control panel.
- In the application folder, open the
etcfolder and locate themy.cnffile where MySQL settings are stored. - Right-click on the
my.cnffile to open it in a Text Editor.
Configuration Changes
- In the Text Editor:
- Find
max_allowed_packetand set it to100Mto allow a maximum data size of 100M sent to the MySQL server. - Find
wait_timeoutand extend the MySQL connection idle time to3000.
- Find
- Save the modified
my.cnffile, then return to the XAMPP control panel and restart the server.
XAMPP Configuration in Windows
XAMPP Configuration in Windows
Install XAMPP
Note: You can skip these steps if XAMPP is already installed on your system.
- Open the XAMPP Control Panel.
- Click Config in the Apache section. This allows you to manage the Apache server.
- In the Apache section, select PHP (php.ini).
- In the
php.inifile:- Find
max_execution_timeand increase its value tomax_execution_time=3000for extended execution time. - Find
extension=gd. Remove the semicolon (;) at the beginning of the line to enable the GD extension, which is necessary for image processing in PHP.
- Find
Configure MySQL
- Click Config in the MySQL section.
- Open the
my.inifile, which controls MySQL database settings. - In the
my.inifile:- Find
max_allowed_packetand set it to100Mto handle larger data packets.
- Find
Apply Changes
- After making these changes in both Apache and MySQL, restart XAMPP to apply the configurations.
LAMP Configuration in Ubuntu
LAMP Configuration in Ubuntu
Install LAMP (Linux, Apache, MySQL, PHP)
Note: You can skip these steps if LAMP is already installed on your system.
-
After installing LAMP, open the PHP configuration file in a text editor. By default, this file is located at
/etc/php/8.2/fpm/php.ini. -
In the
php.inifile, 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)
-
Save the
php.inifile after making these changes.
Restart Apache
- Restart the Apache server to apply the changes by running the following command: