Server Requirements

The best server requirements for an project that uses MySQL as its database would depend on the specific needs of the project , such as the number of users, the size of the course content, and the number of concurrent connections to the database. However, a general guideline for server requirements for a Laravel-MySQL would be:

  1. Operating System: A Linux distribution such as Ubuntu 20.0 OR 22.10 is recommended, as Laravel is built on PHP, which is a popular language on Linux servers. You can also use Cloud Linux, Centos.

  2. Web Server: Apache are the most common web servers used with Laravel.

  3. PHP: The latest stable version of PHP 8.2 is recommended for optimal performance.

  4. Database: MySQL 5.7.23+ recommended (If your SQL server type is MYSQL) OR Maria DB 10.4+ recommended (If your SQL server type is Mariadb).

  5. Memory: A minimum of 4 GB of RAM is recommended, but more may be necessary depending on the size of the project and the number of concurrent users.

  6. CPU: A minimum of 2 cores is recommended, but more may be necessary depending on the number of concurrent users and the complexity of the project .

  7. Disk Space: A minimum of 20 GB of disk space is recommended, but more may be necessary depending on the size of the course content and the number of courses offered by the project.

  8. Network: A minimum of 100 Mbps is recommended, but more may be necessary depending on the number of concurrent users and the amount of data being transferred.

It's worth noting that these are general guidelines and the specific server requirements may vary depending on the specific needs of the project. It's important to monitor the project performance and adjust the server resources accordingly.

Also make sure that Following PHP extensions installed on your server if not install then you can install it from WHM or using SSH or if you do not have access to this then you need to contact hosting provider with extension name.

Requirements

Before installing make sure you have the proper server requirements. Use Apache server for better performance.

PHP 8.2, MySql 5.7 OR Maria db 10.4

OpenSSL PHP Extension

PHP Fileinfo extension

PHP Zip Archive

Allow furl extension must be enabled

JSON PHP Extension

Ctype PHP Extension

XML PHP Extension

Tokenizer PHP Extension

Mbstring PHP Extension

PDO PHP Extension

Intl PHP Extension

BCMath PHP Extension

Ctype PHP Extension

File and folder permissions for Shared Hosting (Cpanel/Plesk)

public_html 775 (public_html folder is root folder in shared hosting)

if using subdomain then

Subdomain folder 775

File and folder permissions for VPS

VPS stands for Virtual Private Server. It is a type of hosting service that allows individuals or organizations to have their own virtual server, which is a software-based version of a physical server.

A VPS provides a user with the ability to have their own dedicated resources such as CPU, RAM, and storage, but still share a physical server with other users. This allows for more flexibility, control and security than shared hosting, but at a lower cost than a dedicated server.

VPS hosting is ideal for websites or applications that have outgrown shared hosting but don't require the resources of a dedicated server. It allows users to install custom software, configure server settings and access the server remotely.

For VPS use Ubuntu 20.0 OR 22.10 OS, Also install Apache 2, PHP 8.2, MySQL 5.7, Phpmyadmin, Zip, Unzip and all above mentioned extensions.

in apache server root folder: /var/www/html OR /home/user/evoting

Last updated

Was this helpful?